| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 // Call a code stub. | 704 // Call a code stub. |
| 705 void CallStub(CodeStub* stub); | 705 void CallStub(CodeStub* stub); |
| 706 | 706 |
| 707 // Tail call a code stub (jump). | 707 // Tail call a code stub (jump). |
| 708 void TailCallStub(CodeStub* stub); | 708 void TailCallStub(CodeStub* stub); |
| 709 | 709 |
| 710 // Return from a code stub after popping its arguments. | 710 // Return from a code stub after popping its arguments. |
| 711 void StubReturn(int argc); | 711 void StubReturn(int argc); |
| 712 | 712 |
| 713 // Call a runtime routine. | 713 // Call a runtime routine. |
| 714 void CallRuntime(Runtime::Function* f, int num_arguments); | 714 void CallRuntime(const Runtime::Function* f, int num_arguments); |
| 715 | 715 |
| 716 // Convenience function: Same as above, but takes the fid instead. | 716 // Convenience function: Same as above, but takes the fid instead. |
| 717 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 717 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| 718 | 718 |
| 719 // Convenience function: call an external reference. | 719 // Convenience function: call an external reference. |
| 720 void CallExternalReference(const ExternalReference& ext, | 720 void CallExternalReference(const ExternalReference& ext, |
| 721 int num_arguments); | 721 int num_arguments); |
| 722 | 722 |
| 723 // Tail call of a runtime routine (jump). | 723 // Tail call of a runtime routine (jump). |
| 724 // Like JumpToExternalReference, but also takes care of passing the number | 724 // Like JumpToExternalReference, but also takes care of passing the number |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 } \ | 884 } \ |
| 885 masm-> | 885 masm-> |
| 886 #else | 886 #else |
| 887 #define ACCESS_MASM(masm) masm-> | 887 #define ACCESS_MASM(masm) masm-> |
| 888 #endif | 888 #endif |
| 889 | 889 |
| 890 | 890 |
| 891 } } // namespace v8::internal | 891 } } // namespace v8::internal |
| 892 | 892 |
| 893 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 893 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |