Revision: 24046
Author:   [email protected]
Date:     Thu Sep 18 15:36:42 2014 UTC
Log:      MIPS: Move state sentinels into TypeFeedbackVector.

Port r24037 (d821bf9)

Original commit message:
These sentinels were in the wrong place, living in only tangentially related class TypeFeedbackInfo, but they codify state in the TypeFeedbackVector.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/583573003
https://code.google.com/p/v8/source/detail?r=24046

Modified:
 /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc
 /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Tue Sep 16 17:59:41 2014 UTC +++ /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Thu Sep 18 15:36:42 2014 UTC
@@ -2480,9 +2480,9 @@
   // a3 : slot in feedback vector (Smi)
   Label initialize, done, miss, megamorphic, not_array_function;

-  DCHECK_EQ(*TypeFeedbackInfo::MegamorphicSentinel(masm->isolate()),
+  DCHECK_EQ(*TypeFeedbackVector::MegamorphicSentinel(masm->isolate()),
             masm->isolate()->heap()->megamorphic_symbol());
-  DCHECK_EQ(*TypeFeedbackInfo::UninitializedSentinel(masm->isolate()),
+  DCHECK_EQ(*TypeFeedbackVector::UninitializedSentinel(masm->isolate()),
             masm->isolate()->heap()->uninitialized_symbol());

   // Load the cache state into a4.
=======================================
--- /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc Tue Sep 16 17:59:41 2014 UTC +++ /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc Thu Sep 18 15:36:42 2014 UTC
@@ -1175,7 +1175,7 @@
   __ bind(&fixed_array);

   __ li(a1, FeedbackVector());
-  __ li(a2, Operand(TypeFeedbackInfo::MegamorphicSentinel(isolate())));
+  __ li(a2, Operand(TypeFeedbackVector::MegamorphicSentinel(isolate())));
   __ sd(a2, FieldMemOperand(a1, FixedArray::OffsetOfElementAt(slot)));

   __ li(a1, Operand(Smi::FromInt(1)));  // Smi indicates slow check

--
--
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