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 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 // C functions from generated code. | 1228 // C functions from generated code. |
1229 void SetCallCDoubleArguments(DoubleRegister dreg); | 1229 void SetCallCDoubleArguments(DoubleRegister dreg); |
1230 void SetCallCDoubleArguments(DoubleRegister dreg1, DoubleRegister dreg2); | 1230 void SetCallCDoubleArguments(DoubleRegister dreg1, DoubleRegister dreg2); |
1231 void SetCallCDoubleArguments(DoubleRegister dreg, Register reg); | 1231 void SetCallCDoubleArguments(DoubleRegister dreg, Register reg); |
1232 | 1232 |
1233 // Calls an API function. Allocates HandleScope, extracts returned value | 1233 // Calls an API function. Allocates HandleScope, extracts returned value |
1234 // from handle and propagates exceptions. Restores context. stack_space | 1234 // from handle and propagates exceptions. Restores context. stack_space |
1235 // - space to be unwound on exit (includes the call JS arguments space and | 1235 // - space to be unwound on exit (includes the call JS arguments space and |
1236 // the additional space allocated for the fast call). | 1236 // the additional space allocated for the fast call). |
1237 void CallApiFunctionAndReturn(ExternalReference function, | 1237 void CallApiFunctionAndReturn(ExternalReference function, |
| 1238 Address function_address, |
| 1239 ExternalReference thunk_ref, |
| 1240 Register thunk_last_arg, |
1238 int stack_space, | 1241 int stack_space, |
1239 bool returns_handle, | 1242 bool returns_handle, |
1240 int return_value_offset_from_fp); | 1243 int return_value_offset_from_fp); |
1241 | 1244 |
1242 // Jump to the builtin routine. | 1245 // Jump to the builtin routine. |
1243 void JumpToExternalReference(const ExternalReference& builtin, | 1246 void JumpToExternalReference(const ExternalReference& builtin, |
1244 BranchDelaySlot bd = PROTECT); | 1247 BranchDelaySlot bd = PROTECT); |
1245 | 1248 |
1246 // Invoke specified builtin JavaScript function. Adds an entry to | 1249 // Invoke specified builtin JavaScript function. Adds an entry to |
1247 // the unresolved list if the name does not resolve. | 1250 // the unresolved list if the name does not resolve. |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1582 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1585 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1583 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1586 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1584 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1587 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1585 #else | 1588 #else |
1586 #define ACCESS_MASM(masm) masm-> | 1589 #define ACCESS_MASM(masm) masm-> |
1587 #endif | 1590 #endif |
1588 | 1591 |
1589 } } // namespace v8::internal | 1592 } } // namespace v8::internal |
1590 | 1593 |
1591 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1594 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |