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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 // --------------------------------------------------------------------------- | 490 // --------------------------------------------------------------------------- |
491 // Inline caching support | 491 // Inline caching support |
492 | 492 |
493 // Generate code for checking access rights - used for security checks | 493 // Generate code for checking access rights - used for security checks |
494 // on access to global objects across environments. The holder register | 494 // on access to global objects across environments. The holder register |
495 // is left untouched, but the scratch register is clobbered. | 495 // is left untouched, but the scratch register is clobbered. |
496 void CheckAccessGlobalProxy(Register holder_reg, | 496 void CheckAccessGlobalProxy(Register holder_reg, |
497 Register scratch, | 497 Register scratch, |
498 Label* miss); | 498 Label* miss); |
499 | 499 |
500 | |
501 void GetNumberHash(Register r0, Register scratch); | 500 void GetNumberHash(Register r0, Register scratch); |
502 | 501 |
503 | |
504 void LoadFromNumberDictionary(Label* miss, | 502 void LoadFromNumberDictionary(Label* miss, |
505 Register elements, | 503 Register elements, |
506 Register key, | 504 Register key, |
507 Register r0, | 505 Register r0, |
508 Register r1, | 506 Register r1, |
509 Register r2, | 507 Register r2, |
510 Register result); | 508 Register result); |
511 | 509 |
512 | 510 |
513 // --------------------------------------------------------------------------- | 511 // --------------------------------------------------------------------------- |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 } \ | 949 } \ |
952 masm-> | 950 masm-> |
953 #else | 951 #else |
954 #define ACCESS_MASM(masm) masm-> | 952 #define ACCESS_MASM(masm) masm-> |
955 #endif | 953 #endif |
956 | 954 |
957 | 955 |
958 } } // namespace v8::internal | 956 } } // namespace v8::internal |
959 | 957 |
960 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 958 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |