| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 // --------------------------------------------------------------------------- | 347 // --------------------------------------------------------------------------- |
| 348 // Inline caching support | 348 // Inline caching support |
| 349 | 349 |
| 350 // Generate code for checking access rights - used for security checks | 350 // Generate code for checking access rights - used for security checks |
| 351 // on access to global objects across environments. The holder register | 351 // on access to global objects across environments. The holder register |
| 352 // is left untouched, but the scratch register is clobbered. | 352 // is left untouched, but the scratch register is clobbered. |
| 353 void CheckAccessGlobalProxy(Register holder_reg, | 353 void CheckAccessGlobalProxy(Register holder_reg, |
| 354 Register scratch, | 354 Register scratch, |
| 355 Label* miss); | 355 Label* miss); |
| 356 | 356 |
| 357 void GetNumberHash(Register r0, Register scratch); |
| 357 | 358 |
| 358 void LoadFromNumberDictionary(Label* miss, | 359 void LoadFromNumberDictionary(Label* miss, |
| 359 Register elements, | 360 Register elements, |
| 360 Register key, | 361 Register key, |
| 361 Register r0, | 362 Register r0, |
| 362 Register r1, | 363 Register r1, |
| 363 Register r2, | 364 Register r2, |
| 364 Register result); | 365 Register result); |
| 365 | 366 |
| 366 | 367 |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 } \ | 811 } \ |
| 811 masm-> | 812 masm-> |
| 812 #else | 813 #else |
| 813 #define ACCESS_MASM(masm) masm-> | 814 #define ACCESS_MASM(masm) masm-> |
| 814 #endif | 815 #endif |
| 815 | 816 |
| 816 | 817 |
| 817 } } // namespace v8::internal | 818 } } // namespace v8::internal |
| 818 | 819 |
| 819 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 820 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |