| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // Inline caching support | 345 // Inline caching support |
| 346 | 346 |
| 347 // Generate code for checking access rights - used for security checks | 347 // Generate code for checking access rights - used for security checks |
| 348 // on access to global objects across environments. The holder register | 348 // on access to global objects across environments. The holder register |
| 349 // is left untouched, but the scratch register is clobbered. | 349 // is left untouched, but the scratch register is clobbered. |
| 350 void CheckAccessGlobalProxy(Register holder_reg, | 350 void CheckAccessGlobalProxy(Register holder_reg, |
| 351 Register scratch, | 351 Register scratch, |
| 352 Label* miss); | 352 Label* miss); |
| 353 | 353 |
| 354 | 354 |
| 355 void LoadFromNumberDictionary(Label* miss, |
| 356 Register elements, |
| 357 Register key, |
| 358 Register r0, |
| 359 Register r1, |
| 360 Register r2, |
| 361 Register result); |
| 362 |
| 363 |
| 355 // --------------------------------------------------------------------------- | 364 // --------------------------------------------------------------------------- |
| 356 // Allocation support | 365 // Allocation support |
| 357 | 366 |
| 358 // Allocate an object in new space. If the new space is exhausted control | 367 // Allocate an object in new space. If the new space is exhausted control |
| 359 // continues at the gc_required label. The allocated object is returned in | 368 // continues at the gc_required label. The allocated object is returned in |
| 360 // result and end of the new object is returned in result_end. The register | 369 // result and end of the new object is returned in result_end. The register |
| 361 // scratch can be passed as no_reg in which case an additional object | 370 // scratch can be passed as no_reg in which case an additional object |
| 362 // reference will be added to the reloc info. The returned pointers in result | 371 // reference will be added to the reloc info. The returned pointers in result |
| 363 // and result_end have not yet been tagged as heap objects. If | 372 // and result_end have not yet been tagged as heap objects. If |
| 364 // result_contains_top_on_entry is true the content of result is known to be | 373 // result_contains_top_on_entry is true the content of result is known to be |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 } \ | 796 } \ |
| 788 masm-> | 797 masm-> |
| 789 #else | 798 #else |
| 790 #define ACCESS_MASM(masm) masm-> | 799 #define ACCESS_MASM(masm) masm-> |
| 791 #endif | 800 #endif |
| 792 | 801 |
| 793 | 802 |
| 794 } } // namespace v8::internal | 803 } } // namespace v8::internal |
| 795 | 804 |
| 796 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 805 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |