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 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 // abstract parameter passing for the three different ways we call | 1269 // abstract parameter passing for the three different ways we call |
1270 // C functions from generated code. | 1270 // C functions from generated code. |
1271 void MovToFloatParameter(DoubleRegister src); | 1271 void MovToFloatParameter(DoubleRegister src); |
1272 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); | 1272 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); |
1273 void MovToFloatResult(DoubleRegister src); | 1273 void MovToFloatResult(DoubleRegister src); |
1274 | 1274 |
1275 // Calls an API function. Allocates HandleScope, extracts returned value | 1275 // Calls an API function. Allocates HandleScope, extracts returned value |
1276 // from handle and propagates exceptions. Restores context. stack_space | 1276 // from handle and propagates exceptions. Restores context. stack_space |
1277 // - space to be unwound on exit (includes the call JS arguments space and | 1277 // - space to be unwound on exit (includes the call JS arguments space and |
1278 // the additional space allocated for the fast call). | 1278 // the additional space allocated for the fast call). |
1279 void CallApiFunctionAndReturn(ExternalReference function, | 1279 void CallApiFunctionAndReturn(Register function_address, |
1280 Address function_address, | |
1281 ExternalReference thunk_ref, | 1280 ExternalReference thunk_ref, |
1282 Register thunk_last_arg, | 1281 Register thunk_last_arg, |
1283 int stack_space, | 1282 int stack_space, |
1284 MemOperand return_value_operand, | 1283 MemOperand return_value_operand, |
1285 MemOperand* context_restore_operand); | 1284 MemOperand* context_restore_operand); |
1286 | 1285 |
1287 // Jump to the builtin routine. | 1286 // Jump to the builtin routine. |
1288 void JumpToExternalReference(const ExternalReference& builtin, | 1287 void JumpToExternalReference(const ExternalReference& builtin, |
1289 BranchDelaySlot bd = PROTECT); | 1288 BranchDelaySlot bd = PROTECT); |
1290 | 1289 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1680 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1682 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1681 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1683 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1682 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1684 #else | 1683 #else |
1685 #define ACCESS_MASM(masm) masm-> | 1684 #define ACCESS_MASM(masm) masm-> |
1686 #endif | 1685 #endif |
1687 | 1686 |
1688 } } // namespace v8::internal | 1687 } } // namespace v8::internal |
1689 | 1688 |
1690 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1689 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |