| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index c0f736004ff2cddda0563d6b9748b872c1c9ab8b..79acb5f7b921c233c0b25ce60c2f49c5aa194081 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -2725,7 +2725,7 @@ Statement* Parser::ParseReturnStatement(bool* ok) {
|
| Expression* is_spec_object_call = factory()->NewCallRuntime(
|
| Runtime::kInlineIsJSReceiver, is_spec_object_args, pos);
|
|
|
| - // %_IsJSReceiver(temp) ? temp : throw_expression
|
| + // %_IsJSReceiver(temp) ? temp : 1;
|
| Expression* is_object_conditional = factory()->NewConditional(
|
| is_spec_object_call, factory()->NewVariableProxy(temp),
|
| factory()->NewSmiLiteral(1, pos), pos);
|
|
|