diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-04-02 23:13:52 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-04-02 23:13:52 +0000 |
commit | 55f71187a53d29e9df39d5ae298f7368028f93d0 (patch) | |
tree | 79d0bb1d6d30f1043fbd39c1206f51db510c521b /utils | |
parent | 493a441391e2f28ff211835a0afba7aced4265e8 (diff) | |
download | external_llvm-55f71187a53d29e9df39d5ae298f7368028f93d0.zip external_llvm-55f71187a53d29e9df39d5ae298f7368028f93d0.tar.gz external_llvm-55f71187a53d29e9df39d5ae298f7368028f93d0.tar.bz2 |
Move variable "Bits" declaration/definition into the DEBUG block where its usage
is expected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/ARMDecoderEmitter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index 12c753b..4bb4602 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -1547,7 +1547,6 @@ bool ARMDecoderEmitter::ARMDEBackend::populateInstruction( const Record &Def = *CGI.TheDef; const StringRef Name = Def.getName(); uint8_t Form = getByteField(Def, "Form"); - BitsInit &Bits = getBitsField(Def, "Inst"); if (TN == TARGET_ARM) { // FIXME: what about Int_MemBarrierV6 and Int_SyncBarrierV6? @@ -1738,6 +1737,8 @@ bool ARMDecoderEmitter::ARMDEBackend::populateInstruction( } DEBUG({ + BitsInit &Bits = getBitsField(Def, "Inst"); + errs() << " "; // Dumps the instruction encoding bits. |