Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index d84f9f1bd0f518a8350f903396f4c6c5208dac0e..c8c3ad994ad2da2f52256d83da14ceea5bc8a23e 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -512,11 +512,12 @@ void FullCodeGenerator::StackValueContext::Plug(Handle<Object> lit) const { |
void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { |
codegen()->PrepareForBailoutBeforeSplit(condition(), 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) { |