| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 1e5315b978e67fb8e9314cd993a5184f60ff3269..0e5cf0c7757a1d62204d3b6ad4d313752ecc24ff 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -11987,7 +11987,8 @@ Handle<Object> Script::GetNameOrSourceURL(Handle<Script> script) {
|
| Handle<Object> result;
|
| // Do not check against pending exception, since this function may be called
|
| // when an exception has already been pending.
|
| - if (!Execution::TryCall(method, script_wrapper, 0, NULL).ToHandle(&result)) {
|
| + if (!Execution::TryCall(isolate, method, script_wrapper, 0, NULL)
|
| + .ToHandle(&result)) {
|
| return isolate->factory()->undefined_value();
|
| }
|
| return result;
|
|
|