Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index b429e6e00a33751b397d7d6a44f7c8faccc4c8b7..d921226a483496933388a34d8d55b8b4438a9264 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -531,12 +531,11 @@ |
true, |
true_label_, |
false_label_); |
- DCHECK(lit->IsNull(isolate()) || lit->IsUndefined(isolate()) || |
+ DCHECK(lit->IsNull() || lit->IsUndefined(isolate()) || |
!lit->IsUndetectable()); |
- if (lit->IsUndefined(isolate()) || lit->IsNull(isolate()) || |
- lit->IsFalse(isolate())) { |
+ if (lit->IsUndefined(isolate()) || lit->IsNull() || lit->IsFalse()) { |
if (false_label_ != fall_through_) __ Branch(false_label_); |
- } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) { |
+ } else if (lit->IsTrue() || lit->IsJSObject()) { |
if (true_label_ != fall_through_) __ Branch(true_label_); |
} else if (lit->IsString()) { |
if (String::cast(*lit)->length() == 0) { |