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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 const ParameterCount& actual, | 389 const ParameterCount& actual, |
390 InvokeFlag flag, | 390 InvokeFlag flag, |
391 const CallWrapper& call_wrapper); | 391 const CallWrapper& call_wrapper); |
392 | 392 |
393 void InvokeFunction(Handle<JSFunction> function, | 393 void InvokeFunction(Handle<JSFunction> function, |
394 const ParameterCount& expected, | 394 const ParameterCount& expected, |
395 const ParameterCount& actual, | 395 const ParameterCount& actual, |
396 InvokeFlag flag, | 396 InvokeFlag flag, |
397 const CallWrapper& call_wrapper); | 397 const CallWrapper& call_wrapper); |
398 | 398 |
399 // Invoke specified builtin JavaScript function. | |
400 void InvokeBuiltin(int native_context_index, InvokeFlag flag, | |
401 const CallWrapper& call_wrapper = NullCallWrapper()); | |
402 | |
403 // --------------------------------------------------------------------------- | 399 // --------------------------------------------------------------------------- |
404 // Smi tagging, untagging and operations on tagged smis. | 400 // Smi tagging, untagging and operations on tagged smis. |
405 | 401 |
406 // Support for constant splitting. | 402 // Support for constant splitting. |
407 bool IsUnsafeInt(const int32_t x); | 403 bool IsUnsafeInt(const int32_t x); |
408 void SafeMove(Register dst, Smi* src); | 404 void SafeMove(Register dst, Smi* src); |
409 void SafePush(Smi* src); | 405 void SafePush(Smi* src); |
410 | 406 |
411 // Conversions between tagged smi values and non-tagged integer values. | 407 // Conversions between tagged smi values and non-tagged integer values. |
412 | 408 |
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1744 } \ | 1740 } \ |
1745 masm-> | 1741 masm-> |
1746 #else | 1742 #else |
1747 #define ACCESS_MASM(masm) masm-> | 1743 #define ACCESS_MASM(masm) masm-> |
1748 #endif | 1744 #endif |
1749 | 1745 |
1750 } // namespace internal | 1746 } // namespace internal |
1751 } // namespace v8 | 1747 } // namespace v8 |
1752 | 1748 |
1753 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1749 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |