mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Move the FixedStackPseudoSourceValueVal enum value before InstructionVal
so that isa<Instructon> doesn't return true for FixedStackPseudoSourceValue values. This fixes a variety of problems, including crashes with -debug and -print-machineinstrs. Also, add a comment to warn about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c2749f3e2
commit
ce8447ccfe
@ -224,9 +224,11 @@ public:
|
||||
NamedMDNodeVal, // This is an instance of NamedMDNode
|
||||
InlineAsmVal, // This is an instance of InlineAsm
|
||||
PseudoSourceValueVal, // This is an instance of PseudoSourceValue
|
||||
InstructionVal, // This is an instance of Instruction
|
||||
FixedStackPseudoSourceValueVal, // This is an instance of
|
||||
// FixedStackPseudoSourceValue
|
||||
InstructionVal, // This is an instance of Instruction
|
||||
// Enum values starting at InstructionVal are used for Instructions;
|
||||
// don't add new values here!
|
||||
|
||||
// Markers:
|
||||
ConstantFirstVal = FunctionVal,
|
||||
|
Loading…
x
Reference in New Issue
Block a user