Remove a dead method from lithium-* files.

Review URL: http://codereview.chromium.org/9297059

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10548 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f97cd1a0
...@@ -581,11 +581,6 @@ void LChunkBuilder::Abort(const char* format, ...) { ...@@ -581,11 +581,6 @@ void LChunkBuilder::Abort(const char* format, ...) {
} }
LRegister* LChunkBuilder::ToOperand(Register reg) {
return LRegister::Create(Register::ToAllocationIndex(reg));
}
LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { LUnallocated* LChunkBuilder::ToUnallocated(Register reg) {
return new LUnallocated(LUnallocated::FIXED_REGISTER, return new LUnallocated(LUnallocated::FIXED_REGISTER,
Register::ToAllocationIndex(reg)); Register::ToAllocationIndex(reg));
......
...@@ -2161,7 +2161,6 @@ class LChunkBuilder BASE_EMBEDDED { ...@@ -2161,7 +2161,6 @@ class LChunkBuilder BASE_EMBEDDED {
void Abort(const char* format, ...); void Abort(const char* format, ...);
// Methods for getting operands for Use / Define / Temp. // Methods for getting operands for Use / Define / Temp.
LRegister* ToOperand(Register reg);
LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(Register reg);
LUnallocated* ToUnallocated(DoubleRegister reg); LUnallocated* ToUnallocated(DoubleRegister reg);
......
...@@ -580,11 +580,6 @@ void LChunkBuilder::Abort(const char* format, ...) { ...@@ -580,11 +580,6 @@ void LChunkBuilder::Abort(const char* format, ...) {
} }
LRegister* LChunkBuilder::ToOperand(Register reg) {
return LRegister::Create(Register::ToAllocationIndex(reg));
}
LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { LUnallocated* LChunkBuilder::ToUnallocated(Register reg) {
return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER,
Register::ToAllocationIndex(reg)); Register::ToAllocationIndex(reg));
......
...@@ -2273,7 +2273,6 @@ class LChunkBuilder BASE_EMBEDDED { ...@@ -2273,7 +2273,6 @@ class LChunkBuilder BASE_EMBEDDED {
void Abort(const char* format, ...); void Abort(const char* format, ...);
// Methods for getting operands for Use / Define / Temp. // Methods for getting operands for Use / Define / Temp.
LRegister* ToOperand(Register reg);
LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(Register reg);
LUnallocated* ToUnallocated(XMMRegister reg); LUnallocated* ToUnallocated(XMMRegister reg);
......
...@@ -581,11 +581,6 @@ void LChunkBuilder::Abort(const char* format, ...) { ...@@ -581,11 +581,6 @@ void LChunkBuilder::Abort(const char* format, ...) {
} }
LRegister* LChunkBuilder::ToOperand(Register reg) {
return LRegister::Create(Register::ToAllocationIndex(reg));
}
LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { LUnallocated* LChunkBuilder::ToUnallocated(Register reg) {
return new LUnallocated(LUnallocated::FIXED_REGISTER, return new LUnallocated(LUnallocated::FIXED_REGISTER,
Register::ToAllocationIndex(reg)); Register::ToAllocationIndex(reg));
......
...@@ -2161,7 +2161,6 @@ class LChunkBuilder BASE_EMBEDDED { ...@@ -2161,7 +2161,6 @@ class LChunkBuilder BASE_EMBEDDED {
void Abort(const char* format, ...); void Abort(const char* format, ...);
// Methods for getting operands for Use / Define / Temp. // Methods for getting operands for Use / Define / Temp.
LRegister* ToOperand(Register reg);
LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(Register reg);
LUnallocated* ToUnallocated(DoubleRegister reg); LUnallocated* ToUnallocated(DoubleRegister reg);
......
...@@ -574,11 +574,6 @@ void LChunkBuilder::Abort(const char* format, ...) { ...@@ -574,11 +574,6 @@ void LChunkBuilder::Abort(const char* format, ...) {
} }
LRegister* LChunkBuilder::ToOperand(Register reg) {
return LRegister::Create(Register::ToAllocationIndex(reg));
}
LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { LUnallocated* LChunkBuilder::ToUnallocated(Register reg) {
return new LUnallocated(LUnallocated::FIXED_REGISTER, return new LUnallocated(LUnallocated::FIXED_REGISTER,
Register::ToAllocationIndex(reg)); Register::ToAllocationIndex(reg));
......
...@@ -2143,7 +2143,6 @@ class LChunkBuilder BASE_EMBEDDED { ...@@ -2143,7 +2143,6 @@ class LChunkBuilder BASE_EMBEDDED {
void Abort(const char* format, ...); void Abort(const char* format, ...);
// Methods for getting operands for Use / Define / Temp. // Methods for getting operands for Use / Define / Temp.
LRegister* ToOperand(Register reg);
LUnallocated* ToUnallocated(Register reg); LUnallocated* ToUnallocated(Register reg);
LUnallocated* ToUnallocated(XMMRegister reg); LUnallocated* ToUnallocated(XMMRegister reg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment