| 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_S390_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ |
| 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_MACRO_ASSEMBLER_S390_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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 void PrepareForTailCall(const ParameterCount& callee_args_count, | 883 void PrepareForTailCall(const ParameterCount& callee_args_count, |
| 884 Register caller_args_count_reg, Register scratch0, | 884 Register caller_args_count_reg, Register scratch0, |
| 885 Register scratch1); | 885 Register scratch1); |
| 886 | 886 |
| 887 // Invoke the JavaScript function code by either calling or jumping. | 887 // Invoke the JavaScript function code by either calling or jumping. |
| 888 void InvokeFunctionCode(Register function, Register new_target, | 888 void InvokeFunctionCode(Register function, Register new_target, |
| 889 const ParameterCount& expected, | 889 const ParameterCount& expected, |
| 890 const ParameterCount& actual, InvokeFlag flag, | 890 const ParameterCount& actual, InvokeFlag flag, |
| 891 const CallWrapper& call_wrapper); | 891 const CallWrapper& call_wrapper); |
| 892 | 892 |
| 893 void FloodFunctionIfStepping(Register fun, Register new_target, | 893 // On function call, call into the debugger if necessary. |
| 894 const ParameterCount& expected, | 894 void CheckDebugHook(Register fun, Register new_target, |
| 895 const ParameterCount& actual); | 895 const ParameterCount& expected, |
| 896 const ParameterCount& actual); |
| 896 | 897 |
| 897 // Invoke the JavaScript function in the given register. Changes the | 898 // Invoke the JavaScript function in the given register. Changes the |
| 898 // current context to the context in the function before invoking. | 899 // current context to the context in the function before invoking. |
| 899 void InvokeFunction(Register function, Register new_target, | 900 void InvokeFunction(Register function, Register new_target, |
| 900 const ParameterCount& actual, InvokeFlag flag, | 901 const ParameterCount& actual, InvokeFlag flag, |
| 901 const CallWrapper& call_wrapper); | 902 const CallWrapper& call_wrapper); |
| 902 | 903 |
| 903 void InvokeFunction(Register function, const ParameterCount& expected, | 904 void InvokeFunction(Register function, const ParameterCount& expected, |
| 904 const ParameterCount& actual, InvokeFlag flag, | 905 const ParameterCount& actual, InvokeFlag flag, |
| 905 const CallWrapper& call_wrapper); | 906 const CallWrapper& call_wrapper); |
| (...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1819 inline MemOperand NativeContextMemOperand() { | 1820 inline MemOperand NativeContextMemOperand() { |
| 1820 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1821 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1821 } | 1822 } |
| 1822 | 1823 |
| 1823 #define ACCESS_MASM(masm) masm-> | 1824 #define ACCESS_MASM(masm) masm-> |
| 1824 | 1825 |
| 1825 } // namespace internal | 1826 } // namespace internal |
| 1826 } // namespace v8 | 1827 } // namespace v8 |
| 1827 | 1828 |
| 1828 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1829 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
| OLD | NEW |