| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index ab24409585a5d67486af3629dd4d1095c4d10658..aba608aca6d55c375bfe1158a05cccb485044e5a 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -516,11 +516,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) {
|
|
|