Use HType::NonPrimitive() for unclassified HeapObjects (i.e. Maps).

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/279813002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21215 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2014-05-09 12:05:56 +00:00
parent a43c48c4ad
commit c3b5f70414

View File

@ -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;
}