Revision: 19394
Author:   [email protected]
Date:     Fri Feb 14 18:11:31 2014 UTC
Log: MIPS: Remove HandlerKindField and just encode the handlerkind as the only extra-ic-state.

Port r19385 (27769f9)

BUG=
[email protected]

Review URL: https://codereview.chromium.org/164283008

Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19394

Modified:
 /branches/bleeding_edge/src/mips/ic-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/ic-mips.cc Fri Feb 14 18:06:34 2014 UTC
+++ /branches/bleeding_edge/src/mips/ic-mips.cc Fri Feb 14 18:11:31 2014 UTC
@@ -339,8 +339,7 @@
 }


-void LoadIC::GenerateMegamorphic(MacroAssembler* masm,
-                                 ExtraICState extra_state) {
+void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
   // ----------- S t a t e -------------
   //  -- a2    : name
   //  -- ra    : return address
@@ -348,7 +347,7 @@
   // -----------------------------------

   // Probe the stub cache.
- Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC, extra_state);
+  Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC);
   masm->isolate()->stub_cache()->GenerateProbe(
       masm, flags, a0, a2, a3, t0, t1, t2);

@@ -1179,8 +1178,7 @@
 }


-void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
-                                  ExtraICState extra_state) {
+void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
   // ----------- S t a t e -------------
   //  -- a0    : value
   //  -- a1    : receiver
@@ -1189,7 +1187,7 @@
   // -----------------------------------

   // Get the receiver from the stack and probe the stub cache.
- Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC, extra_state);
+  Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC);
   masm->isolate()->stub_cache()->GenerateProbe(
       masm, flags, a1, a2, a3, t0, t1, t2);

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