OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 // Inline caching support | 838 // Inline caching support |
839 | 839 |
840 // Generate code for checking access rights - used for security checks | 840 // Generate code for checking access rights - used for security checks |
841 // on access to global objects across environments. The holder register | 841 // on access to global objects across environments. The holder register |
842 // is left untouched, but the scratch register and kScratchRegister, | 842 // is left untouched, but the scratch register and kScratchRegister, |
843 // which must be different, are clobbered. | 843 // which must be different, are clobbered. |
844 void CheckAccessGlobalProxy(Register holder_reg, | 844 void CheckAccessGlobalProxy(Register holder_reg, |
845 Register scratch, | 845 Register scratch, |
846 Label* miss); | 846 Label* miss); |
847 | 847 |
| 848 void GetNumberHash(Register r0, Register scratch); |
848 | 849 |
849 void LoadFromNumberDictionary(Label* miss, | 850 void LoadFromNumberDictionary(Label* miss, |
850 Register elements, | 851 Register elements, |
851 Register key, | 852 Register key, |
852 Register r0, | 853 Register r0, |
853 Register r1, | 854 Register r1, |
854 Register r2, | 855 Register r2, |
855 Register result); | 856 Register result); |
856 | 857 |
857 | 858 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 masm->popfd(); \ | 1309 masm->popfd(); \ |
1309 } \ | 1310 } \ |
1310 masm-> | 1311 masm-> |
1311 #else | 1312 #else |
1312 #define ACCESS_MASM(masm) masm-> | 1313 #define ACCESS_MASM(masm) masm-> |
1313 #endif | 1314 #endif |
1314 | 1315 |
1315 } } // namespace v8::internal | 1316 } } // namespace v8::internal |
1316 | 1317 |
1317 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1318 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |