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

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

Issue 136093004: Remove the unused HElementsKind instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/x64/lithium-x64.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 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 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 TempRegister()); 1599 TempRegister());
1600 } 1600 }
1601 1601
1602 1602
1603 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { 1603 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) {
1604 LOperand* map = UseRegisterAtStart(instr->value()); 1604 LOperand* map = UseRegisterAtStart(instr->value());
1605 return DefineAsRegister(new(zone()) LMapEnumLength(map)); 1605 return DefineAsRegister(new(zone()) LMapEnumLength(map));
1606 } 1606 }
1607 1607
1608 1608
1609 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) {
1610 LOperand* object = UseRegisterAtStart(instr->value());
1611 return DefineAsRegister(new(zone()) LElementsKind(object));
1612 }
1613
1614
1615 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { 1609 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) {
1616 LOperand* object = UseRegister(instr->value()); 1610 LOperand* object = UseRegister(instr->value());
1617 LValueOf* result = new(zone()) LValueOf(object); 1611 LValueOf* result = new(zone()) LValueOf(object);
1618 return DefineSameAsFirst(result); 1612 return DefineSameAsFirst(result);
1619 } 1613 }
1620 1614
1621 1615
1622 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { 1616 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1623 LOperand* object = UseFixed(instr->value(), rax); 1617 LOperand* object = UseFixed(instr->value(), rax);
1624 LDateField* result = new(zone()) LDateField(object, instr->index()); 1618 LDateField* result = new(zone()) LDateField(object, instr->index());
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2447 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2441 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2448 LOperand* object = UseRegister(instr->object()); 2442 LOperand* object = UseRegister(instr->object());
2449 LOperand* index = UseTempRegister(instr->index()); 2443 LOperand* index = UseTempRegister(instr->index());
2450 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2444 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2451 } 2445 }
2452 2446
2453 2447
2454 } } // namespace v8::internal 2448 } } // namespace v8::internal
2455 2449
2456 #endif // V8_TARGET_ARCH_X64 2450 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698