Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 284a0bee81fc19dae342455c8633e66389fd9d68..96169c6fad77c09a37cfaf619b87657b2a4d0bfc 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -5469,14 +5469,13 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
typedef FunctionCallbackArguments FCA; |
- STATIC_ASSERT(FCA::kContextSaveIndex == 6); |
- STATIC_ASSERT(FCA::kCalleeIndex == 5); |
+ STATIC_ASSERT(FCA::kContextSaveIndex == 5); |
STATIC_ASSERT(FCA::kDataIndex == 4); |
STATIC_ASSERT(FCA::kReturnValueOffset == 3); |
STATIC_ASSERT(FCA::kReturnValueDefaultValueIndex == 2); |
STATIC_ASSERT(FCA::kIsolateIndex == 1); |
STATIC_ASSERT(FCA::kHolderIndex == 0); |
- STATIC_ASSERT(FCA::kArgsLength == 7); |
+ STATIC_ASSERT(FCA::kArgsLength == 6); |
DCHECK(argc.is_immediate() || r3.is(argc.reg())); |
@@ -5485,9 +5484,6 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
// load context from callee |
__ LoadP(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |
- // callee |
- __ push(callee); |
- |
// call data |
__ push(call_data); |