Reviewers: Vyacheslav Egorov,

Description:
Remove unused Temp() function form LChunkBuilder.


Please review this at http://codereview.chromium.org/6217003/

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


Index: src/arm/lithium-arm.cc
===================================================================
--- src/arm/lithium-arm.cc      (revision 6263)
+++ src/arm/lithium-arm.cc      (working copy)
@@ -676,13 +676,6 @@
 }


-LOperand* LChunkBuilder::Temp() {
-  LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
-  allocator_->RecordTemporary(operand);
-  return operand;
-}
-
-
 LUnallocated* LChunkBuilder::TempRegister() {
LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
   allocator_->RecordTemporary(operand);
Index: src/arm/lithium-arm.h
===================================================================
--- src/arm/lithium-arm.h       (revision 6263)
+++ src/arm/lithium-arm.h       (working copy)
@@ -2021,8 +2021,6 @@

   LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env);

-  // Temporary operand that may be a memory location.
-  LOperand* Temp();
   // Temporary operand that must be in a register.
   LUnallocated* TempRegister();
   LOperand* FixedTemp(Register reg);
Index: src/ia32/lithium-ia32.cc
===================================================================
--- src/ia32/lithium-ia32.cc    (revision 6263)
+++ src/ia32/lithium-ia32.cc    (working copy)
@@ -677,13 +677,6 @@
 }


-LOperand* LChunkBuilder::Temp() {
-  LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
-  allocator_->RecordTemporary(operand);
-  return operand;
-}
-
-
 LUnallocated* LChunkBuilder::TempRegister() {
LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
   allocator_->RecordTemporary(operand);
Index: src/ia32/lithium-ia32.h
===================================================================
--- src/ia32/lithium-ia32.h     (revision 6263)
+++ src/ia32/lithium-ia32.h     (working copy)
@@ -2079,8 +2079,6 @@

   LEnvironment* CreateEnvironment(HEnvironment* hydrogen_env);

-  // Temporary operand that may be a memory location.
-  LOperand* Temp();
   // Temporary operand that must be in a register.
   LUnallocated* TempRegister();
   LOperand* FixedTemp(Register reg);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to