projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493a441
)
Move variable "Bits" declaration/definition into the DEBUG block where its usage
author
Johnny Chen
<johnny.chen@apple.com>
Fri, 2 Apr 2010 23:13:52 +0000
(23:13 +0000)
committer
Johnny Chen
<johnny.chen@apple.com>
Fri, 2 Apr 2010 23:13:52 +0000
(23:13 +0000)
is expected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100247
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/ARMDecoderEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/ARMDecoderEmitter.cpp
b/utils/TableGen/ARMDecoderEmitter.cpp
index 12c753b973c11007be3630c51692acea5299cb78..4bb46026d4508c07ccee6b4ea767a7d71e403bfd 100644
(file)
--- 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.