Reviewers: Hannes Payer,

Message:
Committed patchset #1 manually as r18948 (tree was closed).

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

This reverts commit r18947.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=18948

Please review this at https://codereview.chromium.org/147493005/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -4 lines):
  M src/hydrogen-instructions.cc


Index: src/hydrogen-instructions.cc
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
index 73404b94ba561ae47b528cfd3930fe49ffc5e3d1..889ebfd05fc6f47a4cb835269ab29ddbd686f02e 100644
--- a/src/hydrogen-instructions.cc
+++ b/src/hydrogen-instructions.cc
@@ -361,10 +361,6 @@ 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;
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to