| Index: src/json-parser.h
|
| diff --git a/src/json-parser.h b/src/json-parser.h
|
| index 9a22738e98d9ae806366d94da030a345b10fed63..cccd25cffab90964e0f6170cdda8294fdb8a0388 100644
|
| --- a/src/json-parser.h
|
| +++ b/src/json-parser.h
|
| @@ -244,9 +244,7 @@ MaybeHandle<Object> JsonParser<seq_one_byte>::ParseJson() {
|
| MessageLocation location(factory->NewScript(source_),
|
| position_,
|
| position_ + 1);
|
| - Handle<Object> error;
|
| - ASSIGN_RETURN_ON_EXCEPTION(isolate(), error,
|
| - factory->NewSyntaxError(message, array), Object);
|
| + Handle<Object> error = factory->NewSyntaxError(message, array);
|
| return isolate()->template Throw<Object>(error, &location);
|
| }
|
| return result;
|
|
|