Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.
[oota-llvm.git] / lib / Bitcode / Reader / BitcodeReader.cpp
index b2ca22c74ba6180c6067334be57af9ae2e313c6c..7aadb43b3dd698325c115afe206df362193c6661 100644 (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)
 }