| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 // ------------------------------------------------------------------------- | 894 // ------------------------------------------------------------------------- |
| 895 // JavaScript invokes. | 895 // JavaScript invokes. |
| 896 | 896 |
| 897 // Invoke the JavaScript function code by either calling or jumping. | 897 // Invoke the JavaScript function code by either calling or jumping. |
| 898 void InvokeCode(Register code, | 898 void InvokeCode(Register code, |
| 899 const ParameterCount& expected, | 899 const ParameterCount& expected, |
| 900 const ParameterCount& actual, | 900 const ParameterCount& actual, |
| 901 InvokeFlag flag, | 901 InvokeFlag flag, |
| 902 const CallWrapper& call_wrapper); | 902 const CallWrapper& call_wrapper); |
| 903 | 903 |
| 904 void InvokeCode(Handle<Code> code, | |
| 905 const ParameterCount& expected, | |
| 906 const ParameterCount& actual, | |
| 907 RelocInfo::Mode rmode, | |
| 908 InvokeFlag flag); | |
| 909 | |
| 910 // Invoke the JavaScript function in the given register. Changes the | 904 // Invoke the JavaScript function in the given register. Changes the |
| 911 // current context to the context in the function before invoking. | 905 // current context to the context in the function before invoking. |
| 912 void InvokeFunction(Register function, | 906 void InvokeFunction(Register function, |
| 913 const ParameterCount& actual, | 907 const ParameterCount& actual, |
| 914 InvokeFlag flag, | 908 InvokeFlag flag, |
| 915 const CallWrapper& call_wrapper); | 909 const CallWrapper& call_wrapper); |
| 916 | 910 |
| 917 void InvokeFunction(Register function, | 911 void InvokeFunction(Register function, |
| 918 const ParameterCount& expected, | 912 const ParameterCount& expected, |
| 919 const ParameterCount& actual, | 913 const ParameterCount& actual, |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1681 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1688 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1682 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1689 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1683 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1690 #else | 1684 #else |
| 1691 #define ACCESS_MASM(masm) masm-> | 1685 #define ACCESS_MASM(masm) masm-> |
| 1692 #endif | 1686 #endif |
| 1693 | 1687 |
| 1694 } } // namespace v8::internal | 1688 } } // namespace v8::internal |
| 1695 | 1689 |
| 1696 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1690 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |