Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 5f04eaffcfc53f624a64a74525678bb1ee5aad37..33bee63af59f591ea02c5c7b92a050c1b73c98a7 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -490,12 +490,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) { |