| Index: src/a64/full-codegen-a64.cc
|
| diff --git a/src/a64/full-codegen-a64.cc b/src/a64/full-codegen-a64.cc
|
| index 090ddc457e6dd734b0a87b9093a705bc3bc58fcc..27cb0464d0b01dd2b1737942a69b95aa50b5d4ad 100644
|
| --- a/src/a64/full-codegen-a64.cc
|
| +++ b/src/a64/full-codegen-a64.cc
|
| @@ -1333,8 +1333,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| scope()->is_function_scope() &&
|
| info->num_literals() == 0) {
|
| FastNewClosureStub stub(info->language_mode(), info->is_generator());
|
| - __ Mov(x11, Operand(info));
|
| - __ Push(x11);
|
| + __ Mov(x2, Operand(info));
|
| __ CallStub(&stub);
|
| } else {
|
| __ Mov(x11, Operand(info));
|
| @@ -2835,10 +2834,6 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf(
|
| __ Cmp(proto_map, string_proto);
|
| __ B(ne, if_false);
|
|
|
| - // Set the bit in the map to indicate that it has been checked safe for
|
| - // default valueOf and set true result.
|
| - __ Orr(bitfield2, bitfield2, 1 << Map::kStringWrapperSafeForDefaultValueOf);
|
| - __ Strb(bitfield2, FieldMemOperand(map, Map::kBitField2Offset));
|
| __ B(if_true);
|
|
|
| PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
|
|
|