| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 void PrepareForTailCall(const ParameterCount& callee_args_count, | 674 void PrepareForTailCall(const ParameterCount& callee_args_count, |
| 675 Register caller_args_count_reg, Register scratch0, | 675 Register caller_args_count_reg, Register scratch0, |
| 676 Register scratch1); | 676 Register scratch1); |
| 677 | 677 |
| 678 // Invoke the JavaScript function code by either calling or jumping. | 678 // Invoke the JavaScript function code by either calling or jumping. |
| 679 void InvokeFunctionCode(Register function, Register new_target, | 679 void InvokeFunctionCode(Register function, Register new_target, |
| 680 const ParameterCount& expected, | 680 const ParameterCount& expected, |
| 681 const ParameterCount& actual, InvokeFlag flag, | 681 const ParameterCount& actual, InvokeFlag flag, |
| 682 const CallWrapper& call_wrapper); | 682 const CallWrapper& call_wrapper); |
| 683 | 683 |
| 684 void FloodFunctionIfStepping(Register fun, Register new_target, | 684 // On function call, call into the debugger if necessary. |
| 685 const ParameterCount& expected, | 685 void CheckDebugHook(Register fun, Register new_target, |
| 686 const ParameterCount& actual); | 686 const ParameterCount& expected, |
| 687 const ParameterCount& actual); |
| 687 | 688 |
| 688 // Invoke the JavaScript function in the given register. Changes the | 689 // Invoke the JavaScript function in the given register. Changes the |
| 689 // current context to the context in the function before invoking. | 690 // current context to the context in the function before invoking. |
| 690 void InvokeFunction(Register function, | 691 void InvokeFunction(Register function, |
| 691 Register new_target, | 692 Register new_target, |
| 692 const ParameterCount& actual, | 693 const ParameterCount& actual, |
| 693 InvokeFlag flag, | 694 InvokeFlag flag, |
| 694 const CallWrapper& call_wrapper); | 695 const CallWrapper& call_wrapper); |
| 695 | 696 |
| 696 void InvokeFunction(Register function, | 697 void InvokeFunction(Register function, |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1522 inline MemOperand NativeContextMemOperand() { | 1523 inline MemOperand NativeContextMemOperand() { |
| 1523 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1524 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1524 } | 1525 } |
| 1525 | 1526 |
| 1526 #define ACCESS_MASM(masm) masm-> | 1527 #define ACCESS_MASM(masm) masm-> |
| 1527 | 1528 |
| 1528 } // namespace internal | 1529 } // namespace internal |
| 1529 } // namespace v8 | 1530 } // namespace v8 |
| 1530 | 1531 |
| 1531 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1532 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |