| 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 // Call a code stub. Generate the code if necessary. | 747 // Call a code stub. Generate the code if necessary. |
| 748 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); | 748 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); |
| 749 | 749 |
| 750 // Tail call a code stub (jump). Generate the code if necessary. | 750 // Tail call a code stub (jump). Generate the code if necessary. |
| 751 void TailCallStub(CodeStub* stub); | 751 void TailCallStub(CodeStub* stub); |
| 752 | 752 |
| 753 // Return from a code stub after popping its arguments. | 753 // Return from a code stub after popping its arguments. |
| 754 void StubReturn(int argc); | 754 void StubReturn(int argc); |
| 755 | 755 |
| 756 // Call a runtime routine. | 756 // Call a runtime routine. |
| 757 void CallRuntime(const Runtime::Function* f, int num_arguments); | 757 void CallRuntime(const Runtime::Function* f, |
| 758 int num_arguments, |
| 759 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 758 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 760 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
| 759 | 761 |
| 760 // Convenience function: Same as above, but takes the fid instead. | 762 // Convenience function: Same as above, but takes the fid instead. |
| 761 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 763 void CallRuntime(Runtime::FunctionId fid, |
| 764 int num_arguments, |
| 765 SaveFPRegsMode save_doubles = kDontSaveFPRegs); |
| 762 | 766 |
| 763 // Convenience function: call an external reference. | 767 // Convenience function: call an external reference. |
| 764 void CallExternalReference(ExternalReference ref, int num_arguments); | 768 void CallExternalReference(ExternalReference ref, int num_arguments); |
| 765 | 769 |
| 766 // Tail call of a runtime routine (jump). | 770 // Tail call of a runtime routine (jump). |
| 767 // Like JumpToExternalReference, but also takes care of passing the number | 771 // Like JumpToExternalReference, but also takes care of passing the number |
| 768 // of parameters. | 772 // of parameters. |
| 769 void TailCallExternalReference(const ExternalReference& ext, | 773 void TailCallExternalReference(const ExternalReference& ext, |
| 770 int num_arguments, | 774 int num_arguments, |
| 771 int result_size); | 775 int result_size); |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 } \ | 1078 } \ |
| 1075 masm-> | 1079 masm-> |
| 1076 #else | 1080 #else |
| 1077 #define ACCESS_MASM(masm) masm-> | 1081 #define ACCESS_MASM(masm) masm-> |
| 1078 #endif | 1082 #endif |
| 1079 | 1083 |
| 1080 | 1084 |
| 1081 } } // namespace v8::internal | 1085 } } // namespace v8::internal |
| 1082 | 1086 |
| 1083 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1087 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |