mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -280,7 +280,7 @@ namespace {
|
|||||||
|
|
||||||
|
|
||||||
/// Provide fast operand accessors
|
/// Provide fast operand accessors
|
||||||
//DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -289,6 +289,7 @@ template <>
|
|||||||
struct OperandTraits<ConstantPlaceHolder> :
|
struct OperandTraits<ConstantPlaceHolder> :
|
||||||
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
|
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
|
||||||
};
|
};
|
||||||
|
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user