| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index d921226a483496933388a34d8d55b8b4438a9264..b429e6e00a33751b397d7d6a44f7c8faccc4c8b7 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -531,11 +531,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_) __ Branch(false_label_);
|
| - } else if (lit->IsTrue() || lit->IsJSObject()) {
|
| + } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) {
|
| if (true_label_ != fall_through_) __ Branch(true_label_);
|
| } else if (lit->IsString()) {
|
| if (String::cast(*lit)->length() == 0) {
|
|
|