Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: src/ia32/ic-ia32.cc

Issue 2330003: Change the interface of LoadIC on the x64 platform to take its arguments in r... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698