diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-24 18:07:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-24 18:07:50 -0800 |
commit | e2ce8ceb92d87fee4c5011ec562ec539f58ab2f9 (patch) | |
tree | 15311c45b8f3541ef97afe122a3c28ba7b7c1635 /lib/Target/CppBackend/CPPBackend.cpp | |
parent | 746f183f352a43b8c7728c08120ea7d2fef5292b (diff) |
fixes
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index b20319fd4e..80621c04cd 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -40,7 +40,7 @@ using namespace llvm; #include <Relooper.h> -#if 0 +#if 1 #define dump(x) fprintf(stderr, x "\n") #define dumpv(x, ...) fprintf(stderr, x "\n", __VA_ARGS__) #else @@ -1259,11 +1259,11 @@ std::string CppWriter::generateInstruction(const Instruction *I) { // forward references. So, we get the names of all the operands in advance const unsigned Ops(I->getNumOperands()); std::string* opNames = new std::string[Ops]; - dumpv("Generating instruction %s = %s (%d operands)", iName.c_str(), std::string(I->getOpcodeName()).c_str(), Ops); + //dumpv("Generating instruction %s = %s (%d operands)", iName.c_str(), std::string(I->getOpcodeName()).c_str(), Ops); for (unsigned i = 0; i < Ops; i++) { opNames[i] = getOpName(I->getOperand(i)); - dumpv(" op %d: %s", i, opNames[i].c_str()); + //dumpv(" op %d: %s", i, opNames[i].c_str()); } switch (I->getOpcode()) { |