Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index e9df341ce97ea8f61a4797df2ddbd9301107e57a..543534eb14e4cc6ce31078e627c7d89ba301ac9e 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -1569,6 +1569,7 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm) { |
// -- r3 : the number of arguments (not including the receiver) |
// -- r4 : the function to call (checked to be a JSFunction) |
// ----------------------------------- |
+ // See ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) |
Label convert, convert_global_proxy, convert_to_object, done_convert; |
__ AssertFunction(r4); |
@@ -1577,7 +1578,6 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm) { |
// Enter the context of the function; ToObject has to run in the function |
// context, and we also need to take the global proxy from the function |
// context in case of conversion. |
- // See ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) |
STATIC_ASSERT(SharedFunctionInfo::kNativeByteOffset == |
SharedFunctionInfo::kStrictModeByteOffset); |
__ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset)); |