1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00

Move variable "Bits" declaration/definition into the DEBUG block where its usage

is expected.

llvm-svn: 100247
This commit is contained in:
Johnny Chen 2010-04-02 23:13:52 +00:00
parent 35c2015164
commit 62e8d73827

View File

@ -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.