OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 | 765 |
766 // Picks out an array index from the hash field. | 766 // Picks out an array index from the hash field. |
767 // Register use: | 767 // Register use: |
768 // hash - holds the index's hash. Clobbered. | 768 // hash - holds the index's hash. Clobbered. |
769 // index - holds the overwritten index on exit. | 769 // index - holds the overwritten index on exit. |
770 void IndexFromHash(Register hash, Register index); | 770 void IndexFromHash(Register hash, Register index); |
771 | 771 |
772 // Find the function context up the context chain. | 772 // Find the function context up the context chain. |
773 void LoadContext(Register dst, int context_chain_length); | 773 void LoadContext(Register dst, int context_chain_length); |
774 | 774 |
775 // Load the global function with the given index. | |
776 void LoadGlobalFunction(int index, Register function); | |
777 | |
778 // Load the initial map from the global function. The registers | |
779 // function and map can be the same. | |
780 void LoadGlobalFunctionInitialMap(Register function, Register map); | |
781 | |
782 // --------------------------------------------------------------------------- | 775 // --------------------------------------------------------------------------- |
783 // Runtime calls | 776 // Runtime calls |
784 | 777 |
785 // Call a code stub. | 778 // Call a code stub. |
786 void CallStub(CodeStub* stub); | 779 void CallStub(CodeStub* stub); |
787 | 780 |
788 // Call a code stub and return the code object called. Try to generate | 781 // Call a code stub and return the code object called. Try to generate |
789 // the code if necessary. Do not perform a GC but instead return a retry | 782 // the code if necessary. Do not perform a GC but instead return a retry |
790 // after GC failure. | 783 // after GC failure. |
791 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); | 784 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); |
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 Jump(adaptor, RelocInfo::CODE_TARGET); | 1739 Jump(adaptor, RelocInfo::CODE_TARGET); |
1747 } | 1740 } |
1748 bind(&invoke); | 1741 bind(&invoke); |
1749 } | 1742 } |
1750 } | 1743 } |
1751 | 1744 |
1752 | 1745 |
1753 } } // namespace v8::internal | 1746 } } // namespace v8::internal |
1754 | 1747 |
1755 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |