mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Further constify MDNode* references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -100,7 +100,7 @@ private:
|
||||
MachineBasicBlock *MBB; // For MO_MachineBasicBlock.
|
||||
const ConstantFP *CFP; // For MO_FPImmediate.
|
||||
int64_t ImmVal; // For MO_Immediate.
|
||||
MDNode *MD; // For MO_Metadata.
|
||||
const MDNode *MD; // For MO_Metadata.
|
||||
|
||||
struct { // For MO_Register.
|
||||
unsigned RegNo;
|
||||
@@ -467,7 +467,7 @@ public:
|
||||
Op.setTargetFlags(TargetFlags);
|
||||
return Op;
|
||||
}
|
||||
static MachineOperand CreateMetadata(MDNode *Meta) {
|
||||
static MachineOperand CreateMetadata(const MDNode *Meta) {
|
||||
MachineOperand Op(MachineOperand::MO_Metadata);
|
||||
Op.Contents.MD = Meta;
|
||||
return Op;
|
||||
|
Reference in New Issue
Block a user