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:
parent
a43c48c4ad
commit
c3b5f70414
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user