| Index: src/execution.cc
|
| diff --git a/src/execution.cc b/src/execution.cc
|
| index c8ddfafa5fa75479f022028b7485bf5f2d5ff12b..85a16ac7d7d50c3b09a569c8d379653148dc539e 100644
|
| --- a/src/execution.cc
|
| +++ b/src/execution.cc
|
| @@ -140,6 +140,7 @@ MUST_USE_RESULT MaybeHandle<Object> Invoke(Isolate* isolate, bool is_construct,
|
| MaybeHandle<Object> Execution::Call(Isolate* isolate, Handle<Object> callable,
|
| Handle<Object> receiver, int argc,
|
| Handle<Object> argv[]) {
|
| + CHECK(!isolate->has_scheduled_exception());
|
| // Convert calls on global objects to be calls on the global
|
| // receiver instead to avoid having a 'this' pointer which refers
|
| // directly to a global object.
|
|
|