Revision: 21215
Author:   [email protected]
Date:     Fri May  9 12:05:56 2014 UTC
Log: Use HType::NonPrimitive() for unclassified HeapObjects (i.e. Maps).

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Fri May 9 09:23:10 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Fri May 9 12:05:56 2014 UTC
@@ -341,6 +341,8 @@
     result = HType::JSObject();
   } else if (value->IsJSArray()) {
     result = HType::JSArray();
+  } else if (value->IsHeapObject()) {
+    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/d/optout.

Reply via email to