Chromium Code Reviews| Index: src/debug/debug.cc |
| diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
| index 7341aa9665831625da27f6d3c4f87cb904cf9c85..1fb5ec5e79912611f67139e060db540a28540e66 100644 |
| --- a/src/debug/debug.cc |
| +++ b/src/debug/debug.cc |
| @@ -575,7 +575,7 @@ MaybeHandle<Object> Debug::CallFunction(const char* name, int argc, |
| Handle<JSFunction> fun = Handle<JSFunction>::cast( |
| Object::GetProperty(isolate_, holder, name, STRICT).ToHandleChecked()); |
| Handle<Object> undefined = isolate_->factory()->undefined_value(); |
| - return Execution::TryCall(fun, undefined, argc, args); |
| + return Execution::TryCall(isolate_, fun, undefined, argc, args); |
| } |
| @@ -1943,7 +1943,7 @@ void Debug::CallEventCallback(v8::DebugEvent event, |
| event_data, |
| event_listener_data_ }; |
| Handle<JSReceiver> global(isolate_->global_proxy()); |
| - Execution::TryCall(Handle<JSFunction>::cast(event_listener_), |
| + Execution::TryCall(isolate_, Handle<JSFunction>::cast(event_listener_), |
| global, arraysize(argv), argv); |
| } |
| in_debug_event_listener_ = previous; |
| @@ -2089,7 +2089,7 @@ void Debug::NotifyMessageHandler(v8::DebugEvent event, |
| Handle<String> answer; |
| MaybeHandle<Object> maybe_exception; |
| MaybeHandle<Object> maybe_result = |
| - Execution::TryCall(process_debug_request, cmd_processor, 1, |
| + Execution::TryCall(isolate_, process_debug_request, cmd_processor, 1, |
| request_args, &maybe_exception); |
| if (maybe_result.ToHandle(&answer_value)) { |
| @@ -2208,7 +2208,7 @@ void Debug::EnqueueCommandMessage(Vector<const uint16_t> command, |
| } |
| -MaybeHandle<Object> Debug::Call(Handle<JSFunction> fun, Handle<Object> data) { |
| +MaybeHandle<Object> Debug::Call(Handle<Object> fun, Handle<Object> data) { |
| DebugScope debug_scope(this); |
| if (debug_scope.failed()) return isolate_->factory()->undefined_value(); |
| @@ -2418,8 +2418,8 @@ v8::Local<v8::String> MessageImpl::GetJSON() const { |
| return v8::Local<v8::String>(); |
| } |
| - MaybeHandle<Object> maybe_json = |
| - Execution::TryCall(Handle<JSFunction>::cast(fun), event_data_, 0, NULL); |
| + MaybeHandle<Object> maybe_json = Execution::TryCall( |
| + isolate, Handle<JSFunction>::cast(fun), event_data_, 0, NULL); |
|
Toon Verwaest
2015/10/23 11:06:34
you don't need this cast anymore I guess
|
| Handle<Object> json; |
| if (!maybe_json.ToHandle(&json) || !json->IsString()) { |
| return v8::Local<v8::String>(); |