| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index c476ebc7ae018f5ff465329acaf2821b07d0a72a..551d4866983aaf82304ace6e3668c9d9063847b4 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -530,11 +530,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) {
|
|
|