Reviewers: danno, Kevin Millikin,

Description:
Fixed TypeFeedbackOracle for unary operations: Record code for the corresponding
type recording IC.

Please review this at http://codereview.chromium.org/6973025/

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

Affected files:
  M     src/type-info.cc


Index: src/type-info.cc
===================================================================
--- src/type-info.cc    (revision 7869)
+++ src/type-info.cc    (working copy)
@@ -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