| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 51065568bac7855a841c4fc724ba1d60d5e633a1..0e87853af4993b09a964aa99bd4d0ec28bbf1698 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3854,6 +3854,8 @@ void Parser::ThrowPendingError() {
|
| .ToHandleChecked();
|
| elements->set(0, *arg_string);
|
| }
|
| + isolate()->debug()->OnCompileError(script_);
|
| +
|
| Handle<JSArray> array = factory->NewJSArrayWithElements(elements);
|
| Handle<Object> result = pending_error_is_reference_error_
|
| ? factory->NewReferenceError(pending_error_message_, array)
|
|
|