| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 void PrepareForTailCall(const ParameterCount& callee_args_count, | 604 void PrepareForTailCall(const ParameterCount& callee_args_count, |
| 605 Register caller_args_count_reg, Register scratch0, | 605 Register caller_args_count_reg, Register scratch0, |
| 606 Register scratch1); | 606 Register scratch1); |
| 607 | 607 |
| 608 // Invoke the JavaScript function code by either calling or jumping. | 608 // Invoke the JavaScript function code by either calling or jumping. |
| 609 void InvokeFunctionCode(Register function, Register new_target, | 609 void InvokeFunctionCode(Register function, Register new_target, |
| 610 const ParameterCount& expected, | 610 const ParameterCount& expected, |
| 611 const ParameterCount& actual, InvokeFlag flag, | 611 const ParameterCount& actual, InvokeFlag flag, |
| 612 const CallWrapper& call_wrapper); | 612 const CallWrapper& call_wrapper); |
| 613 | 613 |
| 614 void FloodFunctionIfStepping(Register fun, Register new_target, | 614 // On function call, call into the debugger if necessary. |
| 615 const ParameterCount& expected, | 615 void CheckDebugHook(Register fun, Register new_target, |
| 616 const ParameterCount& actual); | 616 const ParameterCount& expected, |
| 617 const ParameterCount& actual); |
| 617 | 618 |
| 618 // Invoke the JavaScript function in the given register. Changes the | 619 // Invoke the JavaScript function in the given register. Changes the |
| 619 // current context to the context in the function before invoking. | 620 // current context to the context in the function before invoking. |
| 620 void InvokeFunction(Register function, Register new_target, | 621 void InvokeFunction(Register function, Register new_target, |
| 621 const ParameterCount& actual, InvokeFlag flag, | 622 const ParameterCount& actual, InvokeFlag flag, |
| 622 const CallWrapper& call_wrapper); | 623 const CallWrapper& call_wrapper); |
| 623 | 624 |
| 624 void InvokeFunction(Register function, const ParameterCount& expected, | 625 void InvokeFunction(Register function, const ParameterCount& expected, |
| 625 const ParameterCount& actual, InvokeFlag flag, | 626 const ParameterCount& actual, InvokeFlag flag, |
| 626 const CallWrapper& call_wrapper); | 627 const CallWrapper& call_wrapper); |
| (...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1578 inline MemOperand NativeContextMemOperand() { | 1579 inline MemOperand NativeContextMemOperand() { |
| 1579 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1580 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1580 } | 1581 } |
| 1581 | 1582 |
| 1582 #define ACCESS_MASM(masm) masm-> | 1583 #define ACCESS_MASM(masm) masm-> |
| 1583 | 1584 |
| 1584 } // namespace internal | 1585 } // namespace internal |
| 1585 } // namespace v8 | 1586 } // namespace v8 |
| 1586 | 1587 |
| 1587 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1588 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |