Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 16efa21fa23059f435d038462883b01697edf23c..ad5faea889593da84592a0cda8a117abe67a8574 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -341,6 +341,8 @@ HType HType::TypeFromValue(Handle<Object> value) { |
result = HType::JSObject(); |
} else if (value->IsJSArray()) { |
result = HType::JSArray(); |
+ } else if (value->IsHeapObject()) { |
+ result = HType::NonPrimitive(); |
} |
return result; |
} |