| 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 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 | 1030 |
| 1031 // Call a code stub. | 1031 // Call a code stub. |
| 1032 void CallStub(CodeStub* stub, | 1032 void CallStub(CodeStub* stub, |
| 1033 TypeFeedbackId ast_id = TypeFeedbackId::None(), | 1033 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
| 1034 Condition cond = al); | 1034 Condition cond = al); |
| 1035 | 1035 |
| 1036 // Call a code stub. | 1036 // Call a code stub. |
| 1037 void TailCallStub(CodeStub* stub, Condition cond = al); | 1037 void TailCallStub(CodeStub* stub, Condition cond = al); |
| 1038 | 1038 |
| 1039 // Call a runtime routine. | 1039 // Call a runtime routine. |
| 1040 void CallRuntime(const Runtime::Function* f, int num_arguments); | 1040 void CallRuntime(const Runtime::Function* f, |
| 1041 int num_arguments, |
| 1042 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1041 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 1043 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
| 1042 | 1044 |
| 1043 // Convenience function: Same as above, but takes the fid instead. | 1045 // Convenience function: Same as above, but takes the fid instead. |
| 1044 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 1046 void CallRuntime(Runtime::FunctionId fid, |
| 1047 int num_arguments, |
| 1048 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 1045 | 1049 |
| 1046 // Convenience function: call an external reference. | 1050 // Convenience function: call an external reference. |
| 1047 void CallExternalReference(const ExternalReference& ext, | 1051 void CallExternalReference(const ExternalReference& ext, |
| 1048 int num_arguments); | 1052 int num_arguments); |
| 1049 | 1053 |
| 1050 // Tail call of a runtime routine (jump). | 1054 // Tail call of a runtime routine (jump). |
| 1051 // Like JumpToExternalReference, but also takes care of passing the number | 1055 // Like JumpToExternalReference, but also takes care of passing the number |
| 1052 // of parameters. | 1056 // of parameters. |
| 1053 void TailCallExternalReference(const ExternalReference& ext, | 1057 void TailCallExternalReference(const ExternalReference& ext, |
| 1054 int num_arguments, | 1058 int num_arguments, |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1479 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1483 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1480 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1484 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1481 #else | 1485 #else |
| 1482 #define ACCESS_MASM(masm) masm-> | 1486 #define ACCESS_MASM(masm) masm-> |
| 1483 #endif | 1487 #endif |
| 1484 | 1488 |
| 1485 | 1489 |
| 1486 } } // namespace v8::internal | 1490 } } // namespace v8::internal |
| 1487 | 1491 |
| 1488 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1492 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |