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

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

Issue 14847013: Remove obsolete HArrayLiteral instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ulan Degenbaev. Created 7 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/mips/lithium-mips.h ('k') | src/x64/lithium-codegen-x64.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 2250 matching lines...) Expand 10 before | Expand all | Expand 10 after
2261 LOperand* size = instr->size()->IsConstant() 2261 LOperand* size = instr->size()->IsConstant()
2262 ? UseConstant(instr->size()) 2262 ? UseConstant(instr->size())
2263 : UseTempRegister(instr->size()); 2263 : UseTempRegister(instr->size());
2264 LOperand* temp1 = TempRegister(); 2264 LOperand* temp1 = TempRegister();
2265 LOperand* temp2 = TempRegister(); 2265 LOperand* temp2 = TempRegister();
2266 LAllocate* result = new(zone()) LAllocate(size, temp1, temp2); 2266 LAllocate* result = new(zone()) LAllocate(size, temp1, temp2);
2267 return AssignPointerMap(DefineAsRegister(result)); 2267 return AssignPointerMap(DefineAsRegister(result));
2268 } 2268 }
2269 2269
2270 2270
2271 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) {
2272 return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, v0), instr);
2273 }
2274
2275
2276 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2271 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2277 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, v0), instr); 2272 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, v0), instr);
2278 } 2273 }
2279 2274
2280 2275
2281 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 2276 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2282 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, v0), instr); 2277 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, v0), instr);
2283 } 2278 }
2284 2279
2285 2280
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2491 2486
2492 2487
2493 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2488 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2494 LOperand* object = UseRegister(instr->object()); 2489 LOperand* object = UseRegister(instr->object());
2495 LOperand* index = UseRegister(instr->index()); 2490 LOperand* index = UseRegister(instr->index());
2496 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2491 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2497 } 2492 }
2498 2493
2499 2494
2500 } } // namespace v8::internal 2495 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698