| 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 33bee63af59f591ea02c5c7b92a050c1b73c98a7..5f04eaffcfc53f624a64a74525678bb1ee5aad37 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -490,11 +490,12 @@ void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const {
|
| 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_) __ jmp(false_label_);
|
| - } else if (lit->IsTrue() || lit->IsJSObject()) {
|
| + } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) {
|
| if (true_label_ != fall_through_) __ jmp(true_label_);
|
| } else if (lit->IsString()) {
|
| if (String::cast(*lit)->length() == 0) {
|
|
|