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