Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 8f117697b4eb8e82e40801efd7c1b05cb1ff6642..8b24bf10c9d8324b5d6923e1fd00a45eb34ca1b8 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -4765,9 +4765,7 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
VisitForAccumulatorValue(sub_expr); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- EqualityKind kind = expr->op() == Token::EQ_STRICT |
- ? kStrictEquality : kNonStrictEquality; |
- if (kind == kStrictEquality) { |
+ if (expr->op() == Token::EQ_STRICT) { |
Heap::RootListIndex nil_value = nil == kNullValue ? |
Heap::kNullValueRootIndex : |
Heap::kUndefinedValueRootIndex; |
@@ -4775,9 +4773,7 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
__ cmp(r0, r1); |
Split(eq, if_true, if_false, fall_through); |
} else { |
- Handle<Code> ic = CompareNilICStub::GetUninitialized(isolate(), |
- kNonStrictEquality, |
- nil); |
+ Handle<Code> ic = CompareNilICStub::GetUninitialized(isolate(), nil); |
CallIC(ic, RelocInfo::CODE_TARGET, expr->CompareOperationFeedbackId()); |
__ cmp(r0, Operand(0)); |
Split(ne, if_true, if_false, fall_through); |