Revision: 7870
Author:   [email protected]
Date:     Thu May 12 01:54:13 2011
Log: Fixed TypeFeedbackOracle for unary operations: Record code for the corresponding
type recording IC.
Review URL: http://codereview.chromium.org/6973025
http://code.google.com/p/v8/source/detail?r=7870

Modified:
 /branches/bleeding_edge/src/type-info.cc

=======================================
--- /branches/bleeding_edge/src/type-info.cc    Wed May 11 05:50:04 2011
+++ /branches/bleeding_edge/src/type-info.cc    Thu May 12 01:54:13 2011
@@ -441,6 +441,7 @@
     Code::Kind kind = target->kind();

     if (kind == Code::TYPE_RECORDING_BINARY_OP_IC ||
+        kind == Code::TYPE_RECORDING_UNARY_OP_IC ||
         kind == Code::COMPARE_IC) {
       SetInfo(id, target);
     } else if (state == MONOMORPHIC) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to