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

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

Issue 1719021: Add inlining of keyed store on ARM... (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/virtual-frame-arm.h ('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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 CallCodeObject(ic, mode, 0); 303 CallCodeObject(ic, mode, 0);
304 } 304 }
305 305
306 306
307 void VirtualFrame::CallKeyedLoadIC() { 307 void VirtualFrame::CallKeyedLoadIC() {
308 Handle<Code> ic(Builtins::builtin(Builtins::KeyedLoadIC_Initialize)); 308 Handle<Code> ic(Builtins::builtin(Builtins::KeyedLoadIC_Initialize));
309 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); 309 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
310 } 310 }
311 311
312 312
313 void VirtualFrame::CallKeyedStoreIC() {
314 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize));
315 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
316 }
317
318
313 void VirtualFrame::CallCodeObject(Handle<Code> code, 319 void VirtualFrame::CallCodeObject(Handle<Code> code,
314 RelocInfo::Mode rmode, 320 RelocInfo::Mode rmode,
315 int dropped_args) { 321 int dropped_args) {
316 switch (code->kind()) { 322 switch (code->kind()) {
317 case Code::CALL_IC: 323 case Code::CALL_IC:
318 case Code::FUNCTION: 324 case Code::FUNCTION:
319 break; 325 break;
320 case Code::KEYED_LOAD_IC: 326 case Code::KEYED_LOAD_IC:
321 case Code::LOAD_IC: 327 case Code::LOAD_IC:
322 case Code::KEYED_STORE_IC: 328 case Code::KEYED_STORE_IC:
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 default: 582 default:
577 UNREACHABLE(); 583 UNREACHABLE();
578 break; 584 break;
579 } 585 }
580 ASSERT(register_allocation_map_ == 0); // Not yet implemented. 586 ASSERT(register_allocation_map_ == 0); // Not yet implemented.
581 } 587 }
582 588
583 #undef __ 589 #undef __
584 590
585 } } // namespace v8::internal 591 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698