Add a deterministic finite automaton based packetizer for VLIW architectures
[oota-llvm.git] / include / llvm / Operator.h
index e9aa4997f285b313a0e8793b598f695c92bf55f9..48a5796383b4b0d2cb5cafa9e8c5a57e901c3d8b 100644 (file)
@@ -261,8 +261,8 @@ public:
 
   /// getPointerOperandType - Method to return the pointer operand as a
   /// PointerType.
-  const PointerType *getPointerOperandType() const {
-    return reinterpret_cast<const PointerType*>(getPointerOperand()->getType());
+  PointerType *getPointerOperandType() const {
+    return reinterpret_cast<PointerType*>(getPointerOperand()->getType());
   }
 
   unsigned getNumIndices() const {  // Note: always non-negative