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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 // Inline caching support | 979 // Inline caching support |
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 | |
990 void GetNumberHash(Register r0, Register scratch); | 989 void GetNumberHash(Register r0, Register scratch); |
991 | 990 |
992 | |
993 void LoadFromNumberDictionary(Label* miss, | 991 void LoadFromNumberDictionary(Label* miss, |
994 Register elements, | 992 Register elements, |
995 Register key, | 993 Register key, |
996 Register r0, | 994 Register r0, |
997 Register r1, | 995 Register r1, |
998 Register r2, | 996 Register r2, |
999 Register result); | 997 Register result); |
1000 | 998 |
1001 | 999 |
1002 // --------------------------------------------------------------------------- | 1000 // --------------------------------------------------------------------------- |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 masm->popfd(); \ | 1448 masm->popfd(); \ |
1451 } \ | 1449 } \ |
1452 masm-> | 1450 masm-> |
1453 #else | 1451 #else |
1454 #define ACCESS_MASM(masm) masm-> | 1452 #define ACCESS_MASM(masm) masm-> |
1455 #endif | 1453 #endif |
1456 | 1454 |
1457 } } // namespace v8::internal | 1455 } } // namespace v8::internal |
1458 | 1456 |
1459 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1457 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |