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

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

Issue 18508002: Remove HFixedArrayBaseLength instruction and replace with regular HLoadNamedField. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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
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 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after
1709 1709
1710 1710
1711 LInstruction* LChunkBuilder::DoClassOfTestAndBranch( 1711 LInstruction* LChunkBuilder::DoClassOfTestAndBranch(
1712 HClassOfTestAndBranch* instr) { 1712 HClassOfTestAndBranch* instr) {
1713 ASSERT(instr->value()->representation().IsTagged()); 1713 ASSERT(instr->value()->representation().IsTagged());
1714 return new(zone()) LClassOfTestAndBranch(UseRegister(instr->value()), 1714 return new(zone()) LClassOfTestAndBranch(UseRegister(instr->value()),
1715 TempRegister()); 1715 TempRegister());
1716 } 1716 }
1717 1717
1718 1718
1719 LInstruction* LChunkBuilder::DoFixedArrayBaseLength(
1720 HFixedArrayBaseLength* instr) {
1721 LOperand* array = UseRegisterAtStart(instr->value());
1722 return DefineAsRegister(new(zone()) LFixedArrayBaseLength(array));
1723 }
1724
1725
1726 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { 1719 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) {
1727 LOperand* map = UseRegisterAtStart(instr->value()); 1720 LOperand* map = UseRegisterAtStart(instr->value());
1728 return DefineAsRegister(new(zone()) LMapEnumLength(map)); 1721 return DefineAsRegister(new(zone()) LMapEnumLength(map));
1729 } 1722 }
1730 1723
1731 1724
1732 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) { 1725 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) {
1733 LOperand* object = UseRegisterAtStart(instr->value()); 1726 LOperand* object = UseRegisterAtStart(instr->value());
1734 return DefineAsRegister(new(zone()) LElementsKind(object)); 1727 return DefineAsRegister(new(zone()) LElementsKind(object));
1735 } 1728 }
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 2550
2558 2551
2559 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2552 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2560 LOperand* object = UseRegister(instr->object()); 2553 LOperand* object = UseRegister(instr->object());
2561 LOperand* index = UseRegister(instr->index()); 2554 LOperand* index = UseRegister(instr->index());
2562 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2555 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2563 } 2556 }
2564 2557
2565 2558
2566 } } // namespace v8::internal 2559 } } // namespace v8::internal
OLDNEW
« src/hydrogen.cc ('K') | « 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