| 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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 Register scratch1, ReturnAddressState ra_state, | 327 Register scratch1, ReturnAddressState ra_state, |
| 328 int number_of_temp_values_after_return_address); | 328 int number_of_temp_values_after_return_address); |
| 329 | 329 |
| 330 // Invoke the JavaScript function code by either calling or jumping. | 330 // Invoke the JavaScript function code by either calling or jumping. |
| 331 | 331 |
| 332 void InvokeFunctionCode(Register function, Register new_target, | 332 void InvokeFunctionCode(Register function, Register new_target, |
| 333 const ParameterCount& expected, | 333 const ParameterCount& expected, |
| 334 const ParameterCount& actual, InvokeFlag flag, | 334 const ParameterCount& actual, InvokeFlag flag, |
| 335 const CallWrapper& call_wrapper); | 335 const CallWrapper& call_wrapper); |
| 336 | 336 |
| 337 void FloodFunctionIfStepping(Register fun, Register new_target, | 337 // On function call, call into the debugger if necessary. |
| 338 const ParameterCount& expected, | 338 void CheckDebugHook(Register fun, Register new_target, |
| 339 const ParameterCount& actual); | 339 const ParameterCount& expected, |
| 340 const ParameterCount& actual); |
| 340 | 341 |
| 341 // Invoke the JavaScript function in the given register. Changes the | 342 // Invoke the JavaScript function in the given register. Changes the |
| 342 // current context to the context in the function before invoking. | 343 // current context to the context in the function before invoking. |
| 343 void InvokeFunction(Register function, Register new_target, | 344 void InvokeFunction(Register function, Register new_target, |
| 344 const ParameterCount& actual, InvokeFlag flag, | 345 const ParameterCount& actual, InvokeFlag flag, |
| 345 const CallWrapper& call_wrapper); | 346 const CallWrapper& call_wrapper); |
| 346 | 347 |
| 347 void InvokeFunction(Register function, const ParameterCount& expected, | 348 void InvokeFunction(Register function, const ParameterCount& expected, |
| 348 const ParameterCount& actual, InvokeFlag flag, | 349 const ParameterCount& actual, InvokeFlag flag, |
| 349 const CallWrapper& call_wrapper); | 350 const CallWrapper& call_wrapper); |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 inline Operand NativeContextOperand() { | 980 inline Operand NativeContextOperand() { |
| 980 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 981 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
| 981 } | 982 } |
| 982 | 983 |
| 983 #define ACCESS_MASM(masm) masm-> | 984 #define ACCESS_MASM(masm) masm-> |
| 984 | 985 |
| 985 } // namespace internal | 986 } // namespace internal |
| 986 } // namespace v8 | 987 } // namespace v8 |
| 987 | 988 |
| 988 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 989 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |