Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index b8918c424af1e056a623cab2f6ae86890a3efee8..cf0b882f05f53923a04dadad27093a00046436cb 100644 |
--- a/src/runtime/runtime.h |
+++ b/src/runtime/runtime.h |
@@ -78,8 +78,8 @@ |
F(DefineClass, 6, 1) \ |
F(DefineClassMethod, 3, 1) \ |
F(ClassGetSourceCode, 1, 1) \ |
- F(LoadFromSuper, 3, 1) \ |
- F(LoadKeyedFromSuper, 3, 1) \ |
+ F(LoadFromSuper, 4, 1) \ |
+ F(LoadKeyedFromSuper, 4, 1) \ |
F(StoreToSuper_Strict, 4, 1) \ |
F(StoreToSuper_Sloppy, 4, 1) \ |
F(StoreKeyedToSuper_Strict, 4, 1) \ |
@@ -431,8 +431,8 @@ |
F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
F(ObjectFreeze, 1, 1) \ |
F(ObjectSeal, 1, 1) \ |
- F(GetProperty, 2, 1) \ |
- F(KeyedGetProperty, 2, 1) \ |
+ F(GetProperty, 3, 1) \ |
+ F(KeyedGetProperty, 3, 1) \ |
F(AddNamedProperty, 4, 1) \ |
F(SetProperty, 4, 1) \ |
F(AddElement, 3, 1) \ |
@@ -815,14 +815,20 @@ |
// Support getting the characters in a string using [] notation as |
// in Firefox/SpiderMonkey, Safari and Opera. |
MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( |
- Isolate* isolate, Handle<Object> object, uint32_t index); |
+ Isolate* isolate, Handle<Object> object, uint32_t index, |
+ LanguageMode language_mode = SLOPPY); |
MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
Isolate* isolate, Handle<Object> object, Handle<Object> key, |
Handle<Object> value, LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( |
- Isolate* isolate, Handle<Object> object, Handle<Object> key); |
+ Isolate* isolate, Handle<Object> object, Handle<Object> key, |
+ LanguageMode language_mode = SLOPPY); |
+ |
+ MUST_USE_RESULT static MaybeHandle<Object> KeyedGetObjectProperty( |
+ Isolate* isolate, Handle<Object> receiver_obj, Handle<Object> key_obj, |
+ LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> GetPrototype( |
Isolate* isolate, Handle<Object> object); |