| 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 236b412f4862c7ae3c280f1ebd88f9d2cb49b586..4e40592607358ab518a6953433413ba02b4f72de 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -480,10 +480,8 @@ void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const {
|
| true,
|
| true_label_,
|
| false_label_);
|
| - DCHECK(lit->IsNull(isolate()) || lit->IsUndefined(isolate()) ||
|
| - !lit->IsUndetectable());
|
| - if (lit->IsUndefined(isolate()) || lit->IsNull(isolate()) ||
|
| - lit->IsFalse(isolate())) {
|
| + DCHECK(lit->IsNullOrUndefined(isolate()) || !lit->IsUndetectable());
|
| + if (lit->IsNullOrUndefined(isolate()) || lit->IsFalse(isolate())) {
|
| if (false_label_ != fall_through_) __ jmp(false_label_);
|
| } else if (lit->IsTrue(isolate()) || lit->IsJSObject()) {
|
| if (true_label_ != fall_through_) __ jmp(true_label_);
|
|
|