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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 // JavaScript invokes | 647 // JavaScript invokes |
648 | 648 |
649 // Invoke the JavaScript function code by either calling or jumping. | 649 // Invoke the JavaScript function code by either calling or jumping. |
650 void InvokeFunctionCode(Register function, Register new_target, | 650 void InvokeFunctionCode(Register function, Register new_target, |
651 const ParameterCount& expected, | 651 const ParameterCount& expected, |
652 const ParameterCount& actual, InvokeFlag flag, | 652 const ParameterCount& actual, InvokeFlag flag, |
653 const CallWrapper& call_wrapper); | 653 const CallWrapper& call_wrapper); |
654 | 654 |
655 // Invoke the JavaScript function in the given register. Changes the | 655 // Invoke the JavaScript function in the given register. Changes the |
656 // current context to the context in the function before invoking. | 656 // current context to the context in the function before invoking. |
657 void InvokeFunction(Register function, | 657 void InvokeFunction(Register function, Register new_target, |
658 Register new_target, | 658 const ParameterCount& actual, InvokeFlag flag, |
659 const ParameterCount& actual, | |
660 InvokeFlag flag, | |
661 const CallWrapper& call_wrapper); | 659 const CallWrapper& call_wrapper); |
662 | 660 |
663 void InvokeFunction(Register function, | 661 void InvokeFunction(Register function, |
664 const ParameterCount& expected, | 662 const ParameterCount& expected, |
665 const ParameterCount& actual, | 663 const ParameterCount& actual, |
666 InvokeFlag flag, | 664 InvokeFlag flag, |
667 const CallWrapper& call_wrapper); | 665 const CallWrapper& call_wrapper); |
668 | 666 |
669 void InvokeFunction(Handle<JSFunction> function, | 667 void InvokeFunction(Handle<JSFunction> function, |
670 const ParameterCount& expected, | 668 const ParameterCount& expected, |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1548 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1551 #else | 1549 #else |
1552 #define ACCESS_MASM(masm) masm-> | 1550 #define ACCESS_MASM(masm) masm-> |
1553 #endif | 1551 #endif |
1554 | 1552 |
1555 | 1553 |
1556 } // namespace internal | 1554 } // namespace internal |
1557 } // namespace v8 | 1555 } // namespace v8 |
1558 | 1556 |
1559 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1557 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |