| Index: src/full-codegen/arm64/full-codegen-arm64.cc
|
| diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| index 169cb07da8c0797c79ee94f19a1f3efaf9cde9f3..d0278e742199519cc9cc226992b5654bf5f38199 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -3841,11 +3841,10 @@
|
| __ CompareRoot(x0, nil_value);
|
| Split(eq, if_true, if_false, fall_through);
|
| } else {
|
| - __ JumpIfSmi(x0, if_false);
|
| - __ Ldr(x0, FieldMemOperand(x0, HeapObject::kMapOffset));
|
| - __ Ldrb(x1, FieldMemOperand(x0, Map::kBitFieldOffset));
|
| - __ TestAndSplit(x1, 1 << Map::kIsUndetectable, if_false, if_true,
|
| - fall_through);
|
| + Handle<Code> ic = CompareNilICStub::GetUninitialized(isolate(), nil);
|
| + CallIC(ic, expr->CompareOperationFeedbackId());
|
| + __ CompareRoot(x0, Heap::kTrueValueRootIndex);
|
| + Split(eq, if_true, if_false, fall_through);
|
| }
|
|
|
| context()->Plug(if_true, if_false);
|
|
|