diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-02 00:16:39 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-02 00:16:39 +0000 |
commit | 9a33835caa39e5fca176f4be447425d2c02fb2b5 (patch) | |
tree | c6d8db42a9a1c8081b69dbf1a25b0795b5595e10 /llvm/utils/TableGen/CodeEmitterGen.cpp | |
parent | f1610f7910e01ae46f33255766e3a59f98c05259 (diff) | |
download | bcm5719-llvm-9a33835caa39e5fca176f4be447425d2c02fb2b5.tar.gz bcm5719-llvm-9a33835caa39e5fca176f4be447425d2c02fb2b5.zip |
Tidy up.
llvm-svn: 117987
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeEmitterGen.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp index 631075263e4..a7b96564799 100644 --- a/llvm/utils/TableGen/CodeEmitterGen.cpp +++ b/llvm/utils/TableGen/CodeEmitterGen.cpp @@ -49,7 +49,6 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { } } - // If the VarBitInit at position 'bit' matches the specified variable then // return the variable bit position. Otherwise return -1. int CodeEmitterGen::getVariableBit(const std::string &VarName, @@ -65,7 +64,6 @@ int CodeEmitterGen::getVariableBit(const std::string &VarName, return -1; } - void CodeEmitterGen::run(raw_ostream &o) { CodeGenTarget Target; std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); @@ -217,7 +215,6 @@ void CodeEmitterGen::run(raw_ostream &o) { InstList.push_back(InstName); } - // Emit initial function code o << " const unsigned opcode = MI.getOpcode();\n" << " unsigned Value = InstBits[opcode];\n" |