| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index 6333e87bea1b6c2ed82cd2b4ea153dd0cc917890..04005ac30af4103e3ba8808a390770bec44166b9 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -1292,7 +1292,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| scope()->is_function_scope() &&
|
| info->num_literals() == 0) {
|
| FastNewClosureStub stub(info->language_mode(), info->is_generator());
|
| - __ Push(info);
|
| + __ Move(rbx, info);
|
| __ CallStub(&stub);
|
| } else {
|
| __ push(rsi);
|
| @@ -3007,10 +3007,6 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf(
|
| __ cmpq(rcx,
|
| ContextOperand(rdx, Context::STRING_FUNCTION_PROTOTYPE_MAP_INDEX));
|
| __ j(not_equal, if_false);
|
| - // Set the bit in the map to indicate that it has been checked safe for
|
| - // default valueOf and set true result.
|
| - __ or_(FieldOperand(rbx, Map::kBitField2Offset),
|
| - Immediate(1 << Map::kStringWrapperSafeForDefaultValueOf));
|
| __ jmp(if_true);
|
|
|
| PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
|
|
|