| 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 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1225 // Call a code stub. | 1225 // Call a code stub. |
| 1226 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); | 1226 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); |
| 1227 | 1227 |
| 1228 // Tail call a code stub (jump). | 1228 // Tail call a code stub (jump). |
| 1229 void TailCallStub(CodeStub* stub); | 1229 void TailCallStub(CodeStub* stub); |
| 1230 | 1230 |
| 1231 // Return from a code stub after popping its arguments. | 1231 // Return from a code stub after popping its arguments. |
| 1232 void StubReturn(int argc); | 1232 void StubReturn(int argc); |
| 1233 | 1233 |
| 1234 // Call a runtime routine. | 1234 // Call a runtime routine. |
| 1235 void CallRuntime(const Runtime::Function* f, int num_arguments); | 1235 void CallRuntime(const Runtime::Function* f, |
| 1236 int num_arguments, |
| 1237 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1236 | 1238 |
| 1237 // Call a runtime function and save the value of XMM registers. | 1239 // Call a runtime function and save the value of XMM registers. |
| 1238 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 1240 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
| 1239 | 1241 |
| 1240 // Convenience function: Same as above, but takes the fid instead. | 1242 // Convenience function: Same as above, but takes the fid instead. |
| 1241 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 1243 void CallRuntime(Runtime::FunctionId fid, |
| 1244 int num_arguments, |
| 1245 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1242 | 1246 |
| 1243 // Convenience function: call an external reference. | 1247 // Convenience function: call an external reference. |
| 1244 void CallExternalReference(const ExternalReference& ext, | 1248 void CallExternalReference(const ExternalReference& ext, |
| 1245 int num_arguments); | 1249 int num_arguments); |
| 1246 | 1250 |
| 1247 // Tail call of a runtime routine (jump). | 1251 // Tail call of a runtime routine (jump). |
| 1248 // Like JumpToExternalReference, but also takes care of passing the number | 1252 // Like JumpToExternalReference, but also takes care of passing the number |
| 1249 // of parameters. | 1253 // of parameters. |
| 1250 void TailCallExternalReference(const ExternalReference& ext, | 1254 void TailCallExternalReference(const ExternalReference& ext, |
| 1251 int num_arguments, | 1255 int num_arguments, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1564 masm->popfq(); \ | 1568 masm->popfq(); \ |
| 1565 } \ | 1569 } \ |
| 1566 masm-> | 1570 masm-> |
| 1567 #else | 1571 #else |
| 1568 #define ACCESS_MASM(masm) masm-> | 1572 #define ACCESS_MASM(masm) masm-> |
| 1569 #endif | 1573 #endif |
| 1570 | 1574 |
| 1571 } } // namespace v8::internal | 1575 } } // namespace v8::internal |
| 1572 | 1576 |
| 1573 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1577 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |