Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index e2c77406e6fba6cc227ee8fc3b39f2a5889a1665..667a3b7824b6ff10ce6d43eca98b69e0587e62df 100644 |
--- a/src/runtime/runtime.h |
+++ b/src/runtime/runtime.h |
@@ -384,7 +384,8 @@ namespace internal { |
F(SetPrototype, 2, 1) \ |
F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
F(GetProperty, 2, 1) \ |
- F(GetGlobal, 1, 1) \ |
+ F(GetGlobalInsideTypeof, 1, 1) \ |
+ F(GetGlobalNotInsideTypeof, 1, 1) \ |
F(KeyedGetProperty, 2, 1) \ |
F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
F(StoreGlobalViaContext_Strict, 2, 1) \ |
@@ -1073,7 +1074,8 @@ class Runtime : public AllStatic { |
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, |
+ bool should_throw_reference_error = false); |
enum TypedArrayId { |
// arrayIds below should be synchronized with typedarray.js natives. |