Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 53d7027764d6a8ab742bc8eea30b2d6aeceaa06d..be2b54dbacece77087b5e1ffbb460ababaa6f89d 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4754,9 +4754,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; |
@@ -4764,7 +4762,6 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
Split(equal, if_true, if_false, fall_through); |
} else { |
Handle<Code> ic = CompareNilICStub::GetUninitialized(isolate(), |
- kNonStrictEquality, |
nil); |
CallIC(ic, RelocInfo::CODE_TARGET, expr->CompareOperationFeedbackId()); |
__ testq(rax, rax); |