Fix typo. Add const version of getAggregateValue() accessor member function.
authorDevang Patel <dpatel@apple.com>
Wed, 20 Feb 2008 18:36:16 +0000 (18:36 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 20 Feb 2008 18:36:16 +0000 (18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47386 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h

index 54b67ffaad7a2096290804ba37584a07ef38456e..4f1222f43f68bbff4f65fe650b8127251e300079 100644 (file)
@@ -2371,10 +2371,15 @@ public:
     return Ops[0]->getType();
   }
   
-  Value *getAggregateValue() {
+  inline Value *getAggregateValue() {
     return getOperand(0);
   }
-  const Value *geIndex() {
+
+  inline const Value *getAggregateValue() const {
+    return getOperand(0);
+  }
+
+  const Value *getIndex() {
     return getOperand(1);
   }