Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 889ebfd05fc6f47a4cb835269ab29ddbd686f02e..73404b94ba561ae47b528cfd3930fe49ffc5e3d1 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -361,6 +361,10 @@ HType HType::TypeFromValue(Handle<Object> value) { |
result = HType::JSObject(); |
} else if (value->IsJSArray()) { |
result = HType::JSArray(); |
+ } else if (value->IsHeapObject()) { |
+ // TODO(bmeurer): This is currently a work-around until the new type system |
+ // is in place, where we have more precise types. |
+ result = HType::NonPrimitive(); |
} |
return result; |
} |