diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:08:44 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:08:44 +0000 |
commit | ae9f3a3b7c915f725aef5a7250e88eaeddda03c6 (patch) | |
tree | b32dad9e6075f8f292819f06d26e306fc94427a0 /utils/TableGen/DAGISelEmitter.cpp | |
parent | 6d794746b7ae1ed531f08c04dd29d79c13b35075 (diff) | |
download | llvm-ae9f3a3b7c915f725aef5a7250e88eaeddda03c6.tar.gz llvm-ae9f3a3b7c915f725aef5a7250e88eaeddda03c6.tar.bz2 llvm-ae9f3a3b7c915f725aef5a7250e88eaeddda03c6.tar.xz |
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index bdf6b64205..6f562fad59 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -1123,7 +1123,7 @@ public: Code += "), 0"; emitCode(Code2 + Code + ");"); - if (NodeHasChain) + if (NodeHasChain) { // Remember which op produces the chain. if (!isRoot) emitCode(ChainName + " = SDOperand(" + NodeName + @@ -1131,6 +1131,7 @@ public: else emitCode(ChainName + " = SDOperand(" + NodeName + ", " + utostr(NumResults+NumDstRegs) + ");"); + } if (!isRoot) { NodeOps.push_back("Tmp" + utostr(ResNo)); |