Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.

llvm-svn: 222502
This commit is contained in:
Richard Trieu
2014-11-21 02:42:08 +00:00
parent cec2a5b270
commit e3d126cbbb

View File

@@ -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)
}