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

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

Issue 1735007: Inline keyed load 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 __ InvokeBuiltin(id, flags); 296 __ InvokeBuiltin(id, flags);
297 } 297 }
298 298
299 299
300 void VirtualFrame::CallLoadIC(RelocInfo::Mode mode) { 300 void VirtualFrame::CallLoadIC(RelocInfo::Mode mode) {
301 Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize)); 301 Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize));
302 CallCodeObject(ic, mode, 0); 302 CallCodeObject(ic, mode, 0);
303 } 303 }
304 304
305 305
306 void VirtualFrame::CallKeyedLoadIC() {
307 Handle<Code> ic(Builtins::builtin(Builtins::KeyedLoadIC_Initialize));
308 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
309 }
310
311
306 void VirtualFrame::CallCodeObject(Handle<Code> code, 312 void VirtualFrame::CallCodeObject(Handle<Code> code,
307 RelocInfo::Mode rmode, 313 RelocInfo::Mode rmode,
308 int dropped_args) { 314 int dropped_args) {
309 switch (code->kind()) { 315 switch (code->kind()) {
310 case Code::CALL_IC: 316 case Code::CALL_IC:
311 case Code::FUNCTION: 317 case Code::FUNCTION:
312 break; 318 break;
313 case Code::KEYED_LOAD_IC: 319 case Code::KEYED_LOAD_IC:
314 case Code::LOAD_IC: 320 case Code::LOAD_IC:
315 case Code::KEYED_STORE_IC: 321 case Code::KEYED_STORE_IC:
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 default: 520 default:
515 UNREACHABLE(); 521 UNREACHABLE();
516 break; 522 break;
517 } 523 }
518 ASSERT(register_allocation_map_ == 0); // Not yet implemented. 524 ASSERT(register_allocation_map_ == 0); // Not yet implemented.
519 } 525 }
520 526
521 #undef __ 527 #undef __
522 528
523 } } // namespace v8::internal 529 } } // 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