Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 5c6bf39e3839a55a467e8aaf48c5ca89eb83185b..350b9efbf53ff27fe6d5741de78b4c244ae20230 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8667,8 +8667,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Call) { |
bool threw; |
Handle<JSReceiver> hfun(fun); |
Handle<Object> hreceiver(receiver, isolate); |
- Handle<Object> result = |
- Execution::Call(hfun, hreceiver, argc, argv, &threw, true); |
+ Handle<Object> result = Execution::Call( |
+ isolate, hfun, hreceiver, argc, argv, &threw, true); |
if (threw) return Failure::Exception(); |
return *result; |
@@ -8702,8 +8702,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Apply) { |
} |
bool threw; |
- Handle<Object> result = |
- Execution::Call(fun, receiver, argc, argv, &threw, true); |
+ Handle<Object> result = Execution::Call( |
+ isolate, fun, receiver, argc, argv, &threw, true); |
if (threw) return Failure::Exception(); |
return *result; |
@@ -12582,7 +12582,7 @@ static MaybeObject* DebugEvaluate(Isolate* isolate, |
shared, context, NOT_TENURED); |
bool pending_exception; |
Handle<Object> result = Execution::Call( |
- eval_fun, receiver, 0, NULL, &pending_exception); |
+ isolate, eval_fun, receiver, 0, NULL, &pending_exception); |
if (pending_exception) return Failure::Exception(); |
@@ -13353,11 +13353,19 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ExecuteInDebugContext) { |
bool pending_exception; |
{ |
if (without_debugger) { |
- result = Execution::Call(function, isolate->global_object(), 0, NULL, |
+ result = Execution::Call(isolate, |
+ function, |
+ isolate->global_object(), |
+ 0, |
+ NULL, |
&pending_exception); |
} else { |
EnterDebugger enter_debugger(isolate); |
- result = Execution::Call(function, isolate->global_object(), 0, NULL, |
+ result = Execution::Call(isolate, |
+ function, |
+ isolate->global_object(), |
+ 0, |
+ NULL, |
&pending_exception); |
} |
} |
@@ -14224,7 +14232,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetFromCache) { |
// This handle is nor shared, nor used later, so it's safe. |
Handle<Object> argv[] = { key_handle }; |
bool pending_exception; |
- value = Execution::Call(factory, |
+ value = Execution::Call(isolate, |
+ factory, |
receiver, |
ARRAY_SIZE(argv), |
argv, |