| 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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 Register scratch1, ReturnAddressState ra_state, | 325 Register scratch1, ReturnAddressState ra_state, |
| 326 int number_of_temp_values_after_return_address); | 326 int number_of_temp_values_after_return_address); |
| 327 | 327 |
| 328 // Invoke the JavaScript function code by either calling or jumping. | 328 // Invoke the JavaScript function code by either calling or jumping. |
| 329 | 329 |
| 330 void InvokeFunctionCode(Register function, Register new_target, | 330 void InvokeFunctionCode(Register function, Register new_target, |
| 331 const ParameterCount& expected, | 331 const ParameterCount& expected, |
| 332 const ParameterCount& actual, InvokeFlag flag, | 332 const ParameterCount& actual, InvokeFlag flag, |
| 333 const CallWrapper& call_wrapper); | 333 const CallWrapper& call_wrapper); |
| 334 | 334 |
| 335 void FloodFunctionIfStepping(Register fun, Register new_target, | 335 // On function call, call into the debugger if necessary. |
| 336 const ParameterCount& expected, | 336 void CheckDebugHook(Register fun, Register new_target, |
| 337 const ParameterCount& actual); | 337 const ParameterCount& expected, |
| 338 const ParameterCount& actual); |
| 338 | 339 |
| 339 // Invoke the JavaScript function in the given register. Changes the | 340 // Invoke the JavaScript function in the given register. Changes the |
| 340 // current context to the context in the function before invoking. | 341 // current context to the context in the function before invoking. |
| 341 void InvokeFunction(Register function, Register new_target, | 342 void InvokeFunction(Register function, Register new_target, |
| 342 const ParameterCount& actual, InvokeFlag flag, | 343 const ParameterCount& actual, InvokeFlag flag, |
| 343 const CallWrapper& call_wrapper); | 344 const CallWrapper& call_wrapper); |
| 344 | 345 |
| 345 void InvokeFunction(Register function, const ParameterCount& expected, | 346 void InvokeFunction(Register function, const ParameterCount& expected, |
| 346 const ParameterCount& actual, InvokeFlag flag, | 347 const ParameterCount& actual, InvokeFlag flag, |
| 347 const CallWrapper& call_wrapper); | 348 const CallWrapper& call_wrapper); |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 inline Operand NativeContextOperand() { | 960 inline Operand NativeContextOperand() { |
| 960 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 961 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
| 961 } | 962 } |
| 962 | 963 |
| 963 #define ACCESS_MASM(masm) masm-> | 964 #define ACCESS_MASM(masm) masm-> |
| 964 | 965 |
| 965 } // namespace internal | 966 } // namespace internal |
| 966 } // namespace v8 | 967 } // namespace v8 |
| 967 | 968 |
| 968 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 969 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |