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 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 | 969 |
970 // Generate code for checking access rights - used for security checks | 970 // Generate code for checking access rights - used for security checks |
971 // on access to global objects across environments. The holder register | 971 // on access to global objects across environments. The holder register |
972 // is left untouched, but the scratch register and kScratchRegister, | 972 // is left untouched, but the scratch register and kScratchRegister, |
973 // which must be different, are clobbered. | 973 // which must be different, are clobbered. |
974 void CheckAccessGlobalProxy(Register holder_reg, | 974 void CheckAccessGlobalProxy(Register holder_reg, |
975 Register scratch, | 975 Register scratch, |
976 Label* miss); | 976 Label* miss); |
977 | 977 |
978 | 978 |
| 979 void GetNumberHash(Register r0, Register scratch); |
| 980 |
| 981 |
979 void LoadFromNumberDictionary(Label* miss, | 982 void LoadFromNumberDictionary(Label* miss, |
980 Register elements, | 983 Register elements, |
981 Register key, | 984 Register key, |
982 Register r0, | 985 Register r0, |
983 Register r1, | 986 Register r1, |
984 Register r2, | 987 Register r2, |
985 Register result); | 988 Register result); |
986 | 989 |
987 | 990 |
988 // --------------------------------------------------------------------------- | 991 // --------------------------------------------------------------------------- |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 masm->popfd(); \ | 1439 masm->popfd(); \ |
1437 } \ | 1440 } \ |
1438 masm-> | 1441 masm-> |
1439 #else | 1442 #else |
1440 #define ACCESS_MASM(masm) masm-> | 1443 #define ACCESS_MASM(masm) masm-> |
1441 #endif | 1444 #endif |
1442 | 1445 |
1443 } } // namespace v8::internal | 1446 } } // namespace v8::internal |
1444 | 1447 |
1445 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1448 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |