Revision: 18948
Author:   [email protected]
Date:     Thu Jan 30 13:54:01 2014 UTC
Log:      Revert "Use HType::NonPrimitive() for non primitive HConstants."

This reverts commit r18947.

[email protected]

Review URL: https://codereview.chromium.org/147493005
http://code.google.com/p/v8/source/detail?r=18948

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Jan 30 13:32:05 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Jan 30 13:54:01 2014 UTC
@@ -361,10 +361,6 @@
     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