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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 // Picks out an array index from the hash field. | 681 // Picks out an array index from the hash field. |
682 // Register use: | 682 // Register use: |
683 // hash - holds the index's hash. Clobbered. | 683 // hash - holds the index's hash. Clobbered. |
684 // index - holds the overwritten index on exit. | 684 // index - holds the overwritten index on exit. |
685 void IndexFromHash(Register hash, Register index); | 685 void IndexFromHash(Register hash, Register index); |
686 | 686 |
687 // --------------------------------------------------------------------------- | 687 // --------------------------------------------------------------------------- |
688 // Runtime calls | 688 // Runtime calls |
689 | 689 |
690 // Call a code stub. Generate the code if necessary. | 690 // Call a code stub. Generate the code if necessary. |
691 void CallStub(CodeStub* stub, unsigned ast_id = kNoASTId); | 691 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); |
692 | 692 |
693 // Tail call a code stub (jump). Generate the code if necessary. | 693 // Tail call a code stub (jump). Generate the code if necessary. |
694 void TailCallStub(CodeStub* stub); | 694 void TailCallStub(CodeStub* stub); |
695 | 695 |
696 // Return from a code stub after popping its arguments. | 696 // Return from a code stub after popping its arguments. |
697 void StubReturn(int argc); | 697 void StubReturn(int argc); |
698 | 698 |
699 // Call a runtime routine. | 699 // Call a runtime routine. |
700 void CallRuntime(const Runtime::Function* f, int num_arguments); | 700 void CallRuntime(const Runtime::Function* f, int num_arguments); |
701 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 701 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 } \ | 987 } \ |
988 masm-> | 988 masm-> |
989 #else | 989 #else |
990 #define ACCESS_MASM(masm) masm-> | 990 #define ACCESS_MASM(masm) masm-> |
991 #endif | 991 #endif |
992 | 992 |
993 | 993 |
994 } } // namespace v8::internal | 994 } } // namespace v8::internal |
995 | 995 |
996 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 996 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |