Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index f34b76e2e030fb15a6e4899b030376495e830984..b20093ac944cbbe06dcb6b9ef505ffc5e66cdcd1 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -531,11 +531,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) { |