Revert "Use HType::NonPrimitive() for non primitive HConstants."

This reverts commit r18947.

TBR=hpayer@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18948 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2014-01-30 13:54:01 +00:00
parent fd9eade93a
commit 552720c2c2

View File

@ -361,10 +361,6 @@ HType HType::TypeFromValue(Handle<Object> value) {
result = HType::JSObject(); result = HType::JSObject();
} else if (value->IsJSArray()) { } else if (value->IsJSArray()) {
result = HType::JSArray(); 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; return result;
} }