Revision: 24532
Author:   [email protected]
Date:     Fri Oct 10 13:56:34 2014 UTC
Log:      MIPS: Teach TurboFan to call vector-based ICs.

Port r24519 (842debf)

Original commit message:
Additional static information needs to be passed to Load and KeyedLoad calls if
--vector-ics is turned on.

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/mips64/lithium-codegen-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips64/lithium-codegen-mips64.cc Wed Sep 24 10:47:29 2014 UTC +++ /branches/bleeding_edge/src/mips64/lithium-codegen-mips64.cc Fri Oct 10 13:56:34 2014 UTC
@@ -2878,7 +2878,7 @@
     EmitVectorLoadICRegisters<LLoadGlobalGeneric>(instr);
   }
   ContextualMode mode = instr->for_typeof() ? NOT_CONTEXTUAL : CONTEXTUAL;
-  Handle<Code> ic = CodeFactory::LoadIC(isolate(), mode).code();
+ Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate(), mode).code();
   CallCode(ic, RelocInfo::CODE_TARGET, instr);
 }

@@ -3019,7 +3019,8 @@
   if (FLAG_vector_ics) {
     EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr);
   }
-  Handle<Code> ic = CodeFactory::LoadIC(isolate(), NOT_CONTEXTUAL).code();
+  Handle<Code> ic =
+      CodeFactory::LoadICInOptimizedCode(isolate(), NOT_CONTEXTUAL).code();
   CallCode(ic, RelocInfo::CODE_TARGET, instr);
 }

@@ -3368,7 +3369,7 @@
     EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr);
   }

-  Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code();
+ Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode(isolate()).code();
   CallCode(ic, RelocInfo::CODE_TARGET, instr);
 }

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