From c670d3bfc3fb662a64e8033d0211ed4512fba056 Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Fri, 21 Nov 2014 02:42:08 +0000 Subject: [PATCH] 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 --- lib/Bitcode/Reader/BitcodeReader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index b2ca22c74ba..7aadb43b3dd 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/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 : public FixedNumOperandTraits { }; +DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value) } -- 2.34.1