Index: src/ic/ppc/handler-compiler-ppc.cc |
diff --git a/src/ic/ppc/handler-compiler-ppc.cc b/src/ic/ppc/handler-compiler-ppc.cc |
index 8988b08e2c1749265eb670564f24283d8f010f47..0a802f0ba1e4735682ddce23b2d94a2355de0793 100644 |
--- a/src/ic/ppc/handler-compiler-ppc.cc |
+++ b/src/ic/ppc/handler-compiler-ppc.cc |
@@ -14,6 +14,30 @@ |
namespace internal { |
#define __ ACCESS_MASM(masm) |
+ |
+ |
+void NamedLoadHandlerCompiler::GenerateSlow(MacroAssembler* masm) { |
+ // Push receiver and key for runtime call. |
+ __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
+ |
+ // The slow case calls into the runtime to complete the store without causing |
+ // an IC miss that would otherwise cause a transition to the generic stub. |
+ ExternalReference ref = |
+ ExternalReference(IC_Utility(IC::LoadIC_Slow), masm->isolate()); |
+ __ TailCallExternalReference(ref, 2, 1); |
+} |
+ |
+ |
+void NamedLoadHandlerCompiler::GenerateLoadSlow(MacroAssembler* masm) { |
+ // Push receiver and key for runtime call. |
+ __ Push(LoadDescriptor::ReceiverRegister(), LoadDescriptor::NameRegister()); |
+ |
+ // The slow case calls into the runtime to complete the store without causing |
+ // an IC miss that would otherwise cause a transition to the generic stub. |
+ ExternalReference ref = |
+ ExternalReference(IC_Utility(IC::KeyedLoadIC_Slow), masm->isolate()); |
+ __ TailCallExternalReference(ref, 2, 1); |
+} |
void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |