diff options
author | Richard Trieu <rtrieu@google.com> | 2014-11-21 02:42:08 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2014-11-21 02:42:08 +0000 |
commit | e3d126cbbbaea56a2bfdb68baa6408161980b03d (patch) | |
tree | 252ebc6c10c0fc96fb7af69452e361e238bd67af /llvm/lib/Bitcode/Reader | |
parent | cec2a5b270d3c333873c241750136aec4b0863cd (diff) | |
download | bcm5719-llvm-e3d126cbbbaea56a2bfdb68baa6408161980b03d.tar.gz bcm5719-llvm-e3d126cbbbaea56a2bfdb68baa6408161980b03d.zip |
Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.
llvm-svn: 222502
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index b2ca22c74ba..7aadb43b3dd 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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) } |