Reviewers: Sven, Description: Remove a dead method from lithium-* files.
Please review this at http://codereview.chromium.org/9297059/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/lithium-arm.h M src/arm/lithium-arm.cc M src/ia32/lithium-ia32.h M src/ia32/lithium-ia32.cc M src/mips/lithium-mips.h M src/mips/lithium-mips.cc M src/x64/lithium-x64.h M src/x64/lithium-x64.cc Index: src/arm/lithium-arm.cc =================================================================== --- src/arm/lithium-arm.cc (revision 10547) +++ src/arm/lithium-arm.cc (working copy) @@ -581,11 +581,6 @@ } -LRegister* LChunkBuilder::ToOperand(Register reg) { - return LRegister::Create(Register::ToAllocationIndex(reg)); -} - - LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { return new LUnallocated(LUnallocated::FIXED_REGISTER, Register::ToAllocationIndex(reg)); Index: src/arm/lithium-arm.h =================================================================== --- src/arm/lithium-arm.h (revision 10547) +++ src/arm/lithium-arm.h (working copy) @@ -2161,7 +2161,6 @@ void Abort(const char* format, ...); // Methods for getting operands for Use / Define / Temp. - LRegister* ToOperand(Register reg); LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(DoubleRegister reg); Index: src/ia32/lithium-ia32.cc =================================================================== --- src/ia32/lithium-ia32.cc (revision 10547) +++ src/ia32/lithium-ia32.cc (working copy) @@ -580,11 +580,6 @@ } -LRegister* LChunkBuilder::ToOperand(Register reg) { - return LRegister::Create(Register::ToAllocationIndex(reg)); -} - - LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, Register::ToAllocationIndex(reg)); Index: src/ia32/lithium-ia32.h =================================================================== --- src/ia32/lithium-ia32.h (revision 10547) +++ src/ia32/lithium-ia32.h (working copy) @@ -2273,7 +2273,6 @@ void Abort(const char* format, ...); // Methods for getting operands for Use / Define / Temp. - LRegister* ToOperand(Register reg); LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(XMMRegister reg); Index: src/mips/lithium-mips.cc =================================================================== --- src/mips/lithium-mips.cc (revision 10547) +++ src/mips/lithium-mips.cc (working copy) @@ -581,11 +581,6 @@ } -LRegister* LChunkBuilder::ToOperand(Register reg) { - return LRegister::Create(Register::ToAllocationIndex(reg)); -} - - LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { return new LUnallocated(LUnallocated::FIXED_REGISTER, Register::ToAllocationIndex(reg)); Index: src/mips/lithium-mips.h =================================================================== --- src/mips/lithium-mips.h (revision 10547) +++ src/mips/lithium-mips.h (working copy) @@ -2161,7 +2161,6 @@ void Abort(const char* format, ...); // Methods for getting operands for Use / Define / Temp. - LRegister* ToOperand(Register reg); LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(DoubleRegister reg); Index: src/x64/lithium-x64.cc =================================================================== --- src/x64/lithium-x64.cc (revision 10547) +++ src/x64/lithium-x64.cc (working copy) @@ -574,11 +574,6 @@ } -LRegister* LChunkBuilder::ToOperand(Register reg) { - return LRegister::Create(Register::ToAllocationIndex(reg)); -} - - LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { return new LUnallocated(LUnallocated::FIXED_REGISTER, Register::ToAllocationIndex(reg)); Index: src/x64/lithium-x64.h =================================================================== --- src/x64/lithium-x64.h (revision 10547) +++ src/x64/lithium-x64.h (working copy) @@ -2143,7 +2143,6 @@ void Abort(const char* format, ...); // Methods for getting operands for Use / Define / Temp. - LRegister* ToOperand(Register reg); LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(XMMRegister reg); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
