Index: src/crankshaft/hydrogen-types.cc |
diff --git a/src/crankshaft/hydrogen-types.cc b/src/crankshaft/hydrogen-types.cc |
index 58e4f0b1b588e2f21b9745ef3b1c969d3b36bf2a..4266e28da09901da64b082535f5d03f71b44122b 100644 |
--- a/src/crankshaft/hydrogen-types.cc |
+++ b/src/crankshaft/hydrogen-types.cc |
@@ -44,10 +44,10 @@ HType HType::FromValue(Handle<Object> value) { |
if (value->IsBoolean()) return HType::Boolean(); |
if (value->IsUndefined()) return HType::Undefined(); |
if (value->IsJSArray()) { |
- DCHECK(!value->IsUndetectableObject()); |
+ DCHECK(!value->IsUndetectable()); |
return HType::JSArray(); |
} |
- if (value->IsJSObject() && !value->IsUndetectableObject()) { |
+ if (value->IsJSObject() && !value->IsUndetectable()) { |
return HType::JSObject(); |
} |
DCHECK(value->IsHeapObject()); |