| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 ebx, | 1315 ebx, |
| 1316 CHECK_DICTIONARY); | 1316 CHECK_DICTIONARY); |
| 1317 __ mov(eax, edi); | 1317 __ mov(eax, edi); |
| 1318 __ ret(0); | 1318 __ ret(0); |
| 1319 | 1319 |
| 1320 // Global object access: Check access rights. | 1320 // Global object access: Check access rights. |
| 1321 __ bind(&global); | 1321 __ bind(&global); |
| 1322 __ CheckAccessGlobalProxy(eax, edx, &miss); | 1322 __ CheckAccessGlobalProxy(eax, edx, &miss); |
| 1323 __ jmp(&probe); | 1323 __ jmp(&probe); |
| 1324 | 1324 |
| 1325 // Cache miss: Restore receiver from stack and jump to runtime. | 1325 // Cache miss: Jump to runtime. |
| 1326 __ bind(&miss); | 1326 __ bind(&miss); |
| 1327 GenerateMiss(masm); | 1327 GenerateMiss(masm); |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 | 1330 |
| 1331 void LoadIC::GenerateMiss(MacroAssembler* masm) { | 1331 void LoadIC::GenerateMiss(MacroAssembler* masm) { |
| 1332 // ----------- S t a t e ------------- | 1332 // ----------- S t a t e ------------- |
| 1333 // -- eax : receiver | 1333 // -- eax : receiver |
| 1334 // -- ecx : name | 1334 // -- ecx : name |
| 1335 // -- esp[0] : return address | 1335 // -- esp[0] : return address |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1609 ExternalReference ref = ExternalReference(IC_Utility(kKeyedStoreIC_Miss)); | 1609 ExternalReference ref = ExternalReference(IC_Utility(kKeyedStoreIC_Miss)); |
| 1610 __ TailCallExternalReference(ref, 3, 1); | 1610 __ TailCallExternalReference(ref, 3, 1); |
| 1611 } | 1611 } |
| 1612 | 1612 |
| 1613 #undef __ | 1613 #undef __ |
| 1614 | 1614 |
| 1615 | 1615 |
| 1616 } } // namespace v8::internal | 1616 } } // namespace v8::internal |
| 1617 | 1617 |
| 1618 #endif // V8_TARGET_ARCH_IA32 | 1618 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |