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

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

Issue 2853003: Port KeyedCallIC implementation to x64 and ARM.... (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/stub-cache-arm.cc ('k') | src/ia32/ic-ia32.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 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 EmitPop(r2); 360 EmitPop(r2);
361 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0); 361 CallCodeObject(ic, RelocInfo::CODE_TARGET, 0);
362 } 362 }
363 363
364 364
365 void VirtualFrame::CallCodeObject(Handle<Code> code, 365 void VirtualFrame::CallCodeObject(Handle<Code> code,
366 RelocInfo::Mode rmode, 366 RelocInfo::Mode rmode,
367 int dropped_args) { 367 int dropped_args) {
368 switch (code->kind()) { 368 switch (code->kind()) {
369 case Code::CALL_IC: 369 case Code::CALL_IC:
370 case Code::KEYED_CALL_IC:
370 case Code::FUNCTION: 371 case Code::FUNCTION:
371 break; 372 break;
372 case Code::KEYED_LOAD_IC: 373 case Code::KEYED_LOAD_IC:
373 case Code::LOAD_IC: 374 case Code::LOAD_IC:
374 case Code::KEYED_STORE_IC: 375 case Code::KEYED_STORE_IC:
375 case Code::STORE_IC: 376 case Code::STORE_IC:
376 ASSERT(dropped_args == 0); 377 ASSERT(dropped_args == 0);
377 break; 378 break;
378 case Code::BUILTIN: 379 case Code::BUILTIN:
379 ASSERT(*code == Builtins::builtin(Builtins::JSConstructCall)); 380 ASSERT(*code == Builtins::builtin(Builtins::JSConstructCall));
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 break; 781 break;
781 } 782 }
782 ASSERT(register_allocation_map_ == 0); // Not yet implemented. 783 ASSERT(register_allocation_map_ == 0); // Not yet implemented.
783 } 784 }
784 785
785 #undef __ 786 #undef __
786 787
787 } } // namespace v8::internal 788 } } // namespace v8::internal
788 789
789 #endif // V8_TARGET_ARCH_ARM 790 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698