[llvm-commits] [llvm] r135768 - /llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Jul 22 09:06:09 PDT 2011
Author: d0k
Date: Fri Jul 22 11:06:09 2011
New Revision: 135768
URL: http://llvm.org/viewvc/llvm-project?rev=135768&view=rev
Log:
Remove unused variables.
Modified:
llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Modified: llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp?rev=135768&r1=135767&r2=135768&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp Fri Jul 22 11:06:09 2011
@@ -328,10 +328,6 @@
for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) {
const CodeGenRegisterClass &RC = RegisterClasses[rc];
- ArrayRef<Record*> Order = RC.getOrder();
-
- std::string Name = RC.getName();
-
OS << " MCRegisterClass("
<< rc << ", "
<< '\"' << RC.getName() << "\", "
More information about the llvm-commits
mailing list