mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +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:
parent
dac753cb73
commit
c670d3bfc3
@ -280,7 +280,7 @@ namespace {
|
||||
|
||||
|
||||
/// Provide fast operand accessors
|
||||
//DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
||||
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
||||
};
|
||||
}
|
||||
|
||||
@ -289,6 +289,7 @@ template <>
|
||||
struct OperandTraits<ConstantPlaceHolder> :
|
||||
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
|
||||
};
|
||||
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user