| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 void InvokeFunction(Register function, const ParameterCount& expected, | 320 void InvokeFunction(Register function, const ParameterCount& expected, |
| 321 const ParameterCount& actual, InvokeFlag flag, | 321 const ParameterCount& actual, InvokeFlag flag, |
| 322 const CallWrapper& call_wrapper); | 322 const CallWrapper& call_wrapper); |
| 323 | 323 |
| 324 void InvokeFunction(Handle<JSFunction> function, | 324 void InvokeFunction(Handle<JSFunction> function, |
| 325 const ParameterCount& expected, | 325 const ParameterCount& expected, |
| 326 const ParameterCount& actual, InvokeFlag flag, | 326 const ParameterCount& actual, InvokeFlag flag, |
| 327 const CallWrapper& call_wrapper); | 327 const CallWrapper& call_wrapper); |
| 328 | 328 |
| 329 // Invoke specified builtin JavaScript function. | |
| 330 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
| 331 const CallWrapper& call_wrapper = NullCallWrapper()); | |
| 332 | |
| 333 // Store the function for the given builtin in the target register. | 329 // Store the function for the given builtin in the target register. |
| 334 void GetBuiltinFunction(Register target, int native_context_index); | 330 void GetBuiltinFunction(Register target, int native_context_index); |
| 335 | 331 |
| 336 | 332 |
| 337 // Expression support | 333 // Expression support |
| 338 // Support for constant splitting. | 334 // Support for constant splitting. |
| 339 bool IsUnsafeImmediate(const Immediate& x); | 335 bool IsUnsafeImmediate(const Immediate& x); |
| 340 void SafeMove(Register dst, const Immediate& x); | 336 void SafeMove(Register dst, const Immediate& x); |
| 341 void SafePush(const Immediate& x); | 337 void SafePush(const Immediate& x); |
| 342 | 338 |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 } \ | 987 } \ |
| 992 masm-> | 988 masm-> |
| 993 #else | 989 #else |
| 994 #define ACCESS_MASM(masm) masm-> | 990 #define ACCESS_MASM(masm) masm-> |
| 995 #endif | 991 #endif |
| 996 | 992 |
| 997 } // namespace internal | 993 } // namespace internal |
| 998 } // namespace v8 | 994 } // namespace v8 |
| 999 | 995 |
| 1000 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 996 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |