Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index f7dac75d818ef8d6723a0287d3b45df0db0cacce..3deeff59c25ae075c930dcc1187a07ef06f0dbaf 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -522,10 +522,8 @@ void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { |
true, |
true_label_, |
false_label_); |
- DCHECK(lit->IsNull(isolate()) || lit->IsUndefined(isolate()) || |
- !lit->IsUndetectable()); |
- if (lit->IsUndefined(isolate()) || lit->IsNull(isolate()) || |
- lit->IsFalse(isolate())) { |
+ DCHECK(lit->IsNullOrUndefined(isolate()) || !lit->IsUndetectable()); |
+ if (lit->IsNullOrUndefined(isolate()) || lit->IsFalse(isolate())) { |
if (false_label_ != fall_through_) __ Branch(false_label_); |
} else if (lit->IsTrue(isolate()) || lit->IsJSObject()) { |
if (true_label_ != fall_through_) __ Branch(true_label_); |