Index: src/crankshaft/hydrogen-instructions.cc |
diff --git a/src/crankshaft/hydrogen-instructions.cc b/src/crankshaft/hydrogen-instructions.cc |
index 70b3f6d54164a316b31e167a35165c25a864cc09..0f7914bfd088c1a2525ebbf18a4ebe8c08e82110 100644 |
--- a/src/crankshaft/hydrogen-instructions.cc |
+++ b/src/crankshaft/hydrogen-instructions.cc |
@@ -2420,7 +2420,7 @@ |
new(zone) HConstant(1) : new(zone) HConstant(0); |
} else if (handle->IsUndefined(isolate)) { |
res = new (zone) HConstant(std::numeric_limits<double>::quiet_NaN()); |
- } else if (handle->IsNull(isolate)) { |
+ } else if (handle->IsNull()) { |
res = new(zone) HConstant(0); |
} else if (handle->IsString()) { |
res = new(zone) HConstant(String::ToNumber(Handle<String>::cast(handle))); |