| Index: src/full-codegen/arm64/full-codegen-arm64.cc
|
| diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| index b20093ac944cbbe06dcb6b9ef505ffc5e66cdcd1..f34b76e2e030fb15a6e4899b030376495e830984 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -531,12 +531,11 @@
|
| true,
|
| true_label_,
|
| false_label_);
|
| - DCHECK(lit->IsNull(isolate()) || lit->IsUndefined(isolate()) ||
|
| + DCHECK(lit->IsNull() || lit->IsUndefined(isolate()) ||
|
| !lit->IsUndetectable());
|
| - if (lit->IsUndefined(isolate()) || lit->IsNull(isolate()) ||
|
| - lit->IsFalse(isolate())) {
|
| + if (lit->IsUndefined(isolate()) || lit->IsNull() || lit->IsFalse()) {
|
| if (false_label_ != fall_through_) __ B(false_label_);
|
| - } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) {
|
| + } else if (lit->IsTrue() || lit->IsJSObject()) {
|
| if (true_label_ != fall_through_) __ B(true_label_);
|
| } else if (lit->IsString()) {
|
| if (String::cast(*lit)->length() == 0) {
|
|
|