Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 8c50fc2cd1481be88b986086535ba999bbd8b89d..9430033bb4d97dca89410db160d034c5b51362f3 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -529,10 +529,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_) __ b(false_label_); |
} else if (lit->IsTrue(isolate()) || lit->IsJSObject()) { |
if (true_label_ != fall_through_) __ b(true_label_); |