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

Side by Side Diff: src/arm/virtual-frame-arm.cc

Issue 1937003: Pass key in register for keyed load IC... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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/stub-cache-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 EmitPop(r1); 314 EmitPop(r1);
315 SpillAll(); 315 SpillAll();
316 } 316 }
317 __ mov(r2, Operand(name)); 317 __ mov(r2, Operand(name));
318 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); 318 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
319 } 319 }
320 320
321 321
322 void VirtualFrame::CallKeyedLoadIC() { 322 void VirtualFrame::CallKeyedLoadIC() {
323 Handle<Code> ic(Builtins::builtin(Builtins::KeyedLoadIC_Initialize)); 323 Handle<Code> ic(Builtins::builtin(Builtins::KeyedLoadIC_Initialize));
324 SpillAllButCopyTOSToR0();
324 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); 325 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
325 } 326 }
326 327
327 328
328 void VirtualFrame::CallKeyedStoreIC() { 329 void VirtualFrame::CallKeyedStoreIC() {
329 ASSERT(SpilledScope::is_spilled()); 330 ASSERT(SpilledScope::is_spilled());
330 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize)); 331 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize));
331 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); 332 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
332 } 333 }
333 334
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 default: 657 default:
657 UNREACHABLE(); 658 UNREACHABLE();
658 break; 659 break;
659 } 660 }
660 ASSERT(register_allocation_map_ == 0); // Not yet implemented. 661 ASSERT(register_allocation_map_ == 0); // Not yet implemented.
661 } 662 }
662 663
663 #undef __ 664 #undef __
664 665
665 } } // namespace v8::internal 666 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698