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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 // function register will be untouched; the other register may be | 716 // function register will be untouched; the other register may be |
717 // clobbered. | 717 // clobbered. |
718 void TryGetFunctionPrototype(Register function, | 718 void TryGetFunctionPrototype(Register function, |
719 Register result, | 719 Register result, |
720 Label* miss); | 720 Label* miss); |
721 | 721 |
722 // Generates code for reporting that an illegal operation has | 722 // Generates code for reporting that an illegal operation has |
723 // occurred. | 723 // occurred. |
724 void IllegalOperation(int num_arguments); | 724 void IllegalOperation(int num_arguments); |
725 | 725 |
| 726 // Picks out an array index from the hash field. |
| 727 // Register use: |
| 728 // hash - holds the index's hash. Clobbered. |
| 729 // index - holds the overwritten index on exit. |
| 730 void IndexFromHash(Register hash, Register index); |
| 731 |
726 // Find the function context up the context chain. | 732 // Find the function context up the context chain. |
727 void LoadContext(Register dst, int context_chain_length); | 733 void LoadContext(Register dst, int context_chain_length); |
728 | 734 |
729 // --------------------------------------------------------------------------- | 735 // --------------------------------------------------------------------------- |
730 // Runtime calls | 736 // Runtime calls |
731 | 737 |
732 // Call a code stub. | 738 // Call a code stub. |
733 void CallStub(CodeStub* stub); | 739 void CallStub(CodeStub* stub); |
734 | 740 |
735 // Call a code stub and return the code object called. Try to generate | 741 // Call a code stub and return the code object called. Try to generate |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 } \ | 966 } \ |
961 masm-> | 967 masm-> |
962 #else | 968 #else |
963 #define ACCESS_MASM(masm) masm-> | 969 #define ACCESS_MASM(masm) masm-> |
964 #endif | 970 #endif |
965 | 971 |
966 | 972 |
967 } } // namespace v8::internal | 973 } } // namespace v8::internal |
968 | 974 |
969 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 975 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |