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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 848 |
| 849 void LoadFromNumberDictionary(Label* miss, |
| 850 Register elements, |
| 851 Register key, |
| 852 Register r0, |
| 853 Register r1, |
| 854 Register r2, |
| 855 Register result); |
| 856 |
| 857 |
849 // --------------------------------------------------------------------------- | 858 // --------------------------------------------------------------------------- |
850 // Allocation support | 859 // Allocation support |
851 | 860 |
852 // Allocate an object in new space. If the new space is exhausted control | 861 // Allocate an object in new space. If the new space is exhausted control |
853 // continues at the gc_required label. The allocated object is returned in | 862 // continues at the gc_required label. The allocated object is returned in |
854 // result and end of the new object is returned in result_end. The register | 863 // result and end of the new object is returned in result_end. The register |
855 // scratch can be passed as no_reg in which case an additional object | 864 // scratch can be passed as no_reg in which case an additional object |
856 // reference will be added to the reloc info. The returned pointers in result | 865 // reference will be added to the reloc info. The returned pointers in result |
857 // and result_end have not yet been tagged as heap objects. If | 866 // and result_end have not yet been tagged as heap objects. If |
858 // result_contains_top_on_entry is true the content of result is known to be | 867 // result_contains_top_on_entry is true the content of result is known to be |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 masm->popfd(); \ | 1297 masm->popfd(); \ |
1289 } \ | 1298 } \ |
1290 masm-> | 1299 masm-> |
1291 #else | 1300 #else |
1292 #define ACCESS_MASM(masm) masm-> | 1301 #define ACCESS_MASM(masm) masm-> |
1293 #endif | 1302 #endif |
1294 | 1303 |
1295 } } // namespace v8::internal | 1304 } } // namespace v8::internal |
1296 | 1305 |
1297 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1306 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |