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

Side by Side Diff: src/arm/lithium-arm.cc

Issue 148223002: Remove CallICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test262 status file Created 6 years, 10 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/arm/lithium-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 LOperand* constructor = UseFixed(instr->constructor(), r1); 1176 LOperand* constructor = UseFixed(instr->constructor(), r1);
1177 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor); 1177 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
1178 return MarkAsCall(DefineFixed(result, r0), instr); 1178 return MarkAsCall(DefineFixed(result, r0), instr);
1179 } 1179 }
1180 1180
1181 1181
1182 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { 1182 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
1183 LOperand* context = UseFixed(instr->context(), cp); 1183 LOperand* context = UseFixed(instr->context(), cp);
1184 LOperand* function = UseFixed(instr->function(), r1); 1184 LOperand* function = UseFixed(instr->function(), r1);
1185 LCallFunction* call = new(zone()) LCallFunction(context, function); 1185 LCallFunction* call = new(zone()) LCallFunction(context, function);
1186 LInstruction* result = DefineFixed(call, r0); 1186 return MarkAsCall(DefineFixed(call, r0), instr);
1187 if (instr->IsTailCall()) return result;
1188 return MarkAsCall(result, instr);
1189 } 1187 }
1190 1188
1191 1189
1192 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { 1190 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) {
1193 LOperand* context = UseFixed(instr->context(), cp); 1191 LOperand* context = UseFixed(instr->context(), cp);
1194 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime(context), r0), instr); 1192 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime(context), r0), instr);
1195 } 1193 }
1196 1194
1197 1195
1198 LInstruction* LChunkBuilder::DoRor(HRor* instr) { 1196 LInstruction* LChunkBuilder::DoRor(HRor* instr) {
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2468 } 2466 }
2469 2467
2470 2468
2471 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2469 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2472 LOperand* object = UseRegister(instr->object()); 2470 LOperand* object = UseRegister(instr->object());
2473 LOperand* index = UseRegister(instr->index()); 2471 LOperand* index = UseRegister(instr->index());
2474 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2472 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2475 } 2473 }
2476 2474
2477 } } // namespace v8::internal 2475 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698