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

Side by Side Diff: src/arm/lithium-arm.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/arm/lithium-arm.h ('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 2375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 LOperand* size = instr->size()->IsConstant() 2386 LOperand* size = instr->size()->IsConstant()
2387 ? UseConstant(instr->size()) 2387 ? UseConstant(instr->size())
2388 : UseTempRegister(instr->size()); 2388 : UseTempRegister(instr->size());
2389 LOperand* temp1 = TempRegister(); 2389 LOperand* temp1 = TempRegister();
2390 LOperand* temp2 = TempRegister(); 2390 LOperand* temp2 = TempRegister();
2391 LAllocate* result = new(zone()) LAllocate(size, temp1, temp2); 2391 LAllocate* result = new(zone()) LAllocate(size, temp1, temp2);
2392 return AssignPointerMap(DefineAsRegister(result)); 2392 return AssignPointerMap(DefineAsRegister(result));
2393 } 2393 }
2394 2394
2395 2395
2396 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) {
2397 return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, r0), instr);
2398 }
2399
2400
2401 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2396 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2402 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, r0), instr); 2397 return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, r0), instr);
2403 } 2398 }
2404 2399
2405 2400
2406 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 2401 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2407 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, r0), instr); 2402 return MarkAsCall(DefineFixed(new(zone()) LFunctionLiteral, r0), instr);
2408 } 2403 }
2409 2404
2410 2405
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2616 2611
2617 2612
2618 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2613 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2619 LOperand* object = UseRegister(instr->object()); 2614 LOperand* object = UseRegister(instr->object());
2620 LOperand* index = UseRegister(instr->index()); 2615 LOperand* index = UseRegister(instr->index());
2621 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2616 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2622 } 2617 }
2623 2618
2624 2619
2625 } } // namespace v8::internal 2620 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698