Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: src/handles.cc

Issue 14425011: api: Object::CachedProperty Base URL: gh:v8/v8.git@master
Patch Set: globalize reference Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/handles.h ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.cc
diff --git a/src/handles.cc b/src/handles.cc
index 5a5773ebd0f231544d646a40d7ba1ebdc606460a..7812696b342ffdd68b030f81cb4b01ba53acae87 100644
--- a/src/handles.cc
+++ b/src/handles.cc
@@ -230,11 +230,12 @@ Handle<Object> SetProperty(Isolate* isolate,
Handle<Object> key,
Handle<Object> value,
PropertyAttributes attributes,
- StrictModeFlag strict_mode) {
+ StrictModeFlag strict_mode,
+ LookupCache* cache) {
CALL_HEAP_FUNCTION(
isolate,
Runtime::SetObjectProperty(
- isolate, object, key, value, attributes, strict_mode),
+ isolate, object, key, value, attributes, strict_mode, cache),
Object);
}
@@ -288,9 +289,11 @@ Handle<Object> GetProperty(Handle<JSReceiver> obj,
Handle<Object> GetProperty(Isolate* isolate,
Handle<Object> obj,
- Handle<Object> key) {
+ Handle<Object> key,
+ LookupCache* cache) {
CALL_HEAP_FUNCTION(isolate,
- Runtime::GetObjectProperty(isolate, obj, key), Object);
+ Runtime::GetObjectProperty(isolate, obj, key, cache),
+ Object);
}
« no previous file with comments | « src/handles.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698