Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 178e8001b7ff6cd3fb12ffb78be33279bc254b72..c667120adafd4aef4a7ffd535133081c2414b4f3 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -487,12 +487,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_) __ jmp(false_label_); |
- } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) { |
+ } else if (lit->IsTrue() || lit->IsJSObject()) { |
if (true_label_ != fall_through_) __ jmp(true_label_); |
} else if (lit->IsString()) { |
if (String::cast(*lit)->length() == 0) { |