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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 | 980 |
981 // Generate code for checking access rights - used for security checks | 981 // Generate code for checking access rights - used for security checks |
982 // on access to global objects across environments. The holder register | 982 // on access to global objects across environments. The holder register |
983 // is left untouched, but the scratch register and kScratchRegister, | 983 // is left untouched, but the scratch register and kScratchRegister, |
984 // which must be different, are clobbered. | 984 // which must be different, are clobbered. |
985 void CheckAccessGlobalProxy(Register holder_reg, | 985 void CheckAccessGlobalProxy(Register holder_reg, |
986 Register scratch, | 986 Register scratch, |
987 Label* miss); | 987 Label* miss); |
988 | 988 |
989 | 989 |
| 990 void GetNumberHash(Register r0, Register scratch); |
| 991 |
| 992 |
990 void LoadFromNumberDictionary(Label* miss, | 993 void LoadFromNumberDictionary(Label* miss, |
991 Register elements, | 994 Register elements, |
992 Register key, | 995 Register key, |
993 Register r0, | 996 Register r0, |
994 Register r1, | 997 Register r1, |
995 Register r2, | 998 Register r2, |
996 Register result); | 999 Register result); |
997 | 1000 |
998 | 1001 |
999 // --------------------------------------------------------------------------- | 1002 // --------------------------------------------------------------------------- |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 masm->popfd(); \ | 1450 masm->popfd(); \ |
1448 } \ | 1451 } \ |
1449 masm-> | 1452 masm-> |
1450 #else | 1453 #else |
1451 #define ACCESS_MASM(masm) masm-> | 1454 #define ACCESS_MASM(masm) masm-> |
1452 #endif | 1455 #endif |
1453 | 1456 |
1454 } } // namespace v8::internal | 1457 } } // namespace v8::internal |
1455 | 1458 |
1456 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1459 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |