mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
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
This commit is contained in:
@@ -1547,7 +1547,6 @@ bool ARMDecoderEmitter::ARMDEBackend::populateInstruction(
|
|||||||
const Record &Def = *CGI.TheDef;
|
const Record &Def = *CGI.TheDef;
|
||||||
const StringRef Name = Def.getName();
|
const StringRef Name = Def.getName();
|
||||||
uint8_t Form = getByteField(Def, "Form");
|
uint8_t Form = getByteField(Def, "Form");
|
||||||
BitsInit &Bits = getBitsField(Def, "Inst");
|
|
||||||
|
|
||||||
if (TN == TARGET_ARM) {
|
if (TN == TARGET_ARM) {
|
||||||
// FIXME: what about Int_MemBarrierV6 and Int_SyncBarrierV6?
|
// FIXME: what about Int_MemBarrierV6 and Int_SyncBarrierV6?
|
||||||
@@ -1738,6 +1737,8 @@ bool ARMDecoderEmitter::ARMDEBackend::populateInstruction(
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEBUG({
|
DEBUG({
|
||||||
|
BitsInit &Bits = getBitsField(Def, "Inst");
|
||||||
|
|
||||||
errs() << " ";
|
errs() << " ";
|
||||||
|
|
||||||
// Dumps the instruction encoding bits.
|
// Dumps the instruction encoding bits.
|
||||||
|
Reference in New Issue
Block a user