[llvm-commits] [llvm] r47386 - /llvm/trunk/include/llvm/Instructions.h

Devang Patel dpatel at apple.com
Wed Feb 20 10:36:17 PST 2008


Author: dpatel
Date: Wed Feb 20 12:36:16 2008
New Revision: 47386

URL: http://llvm.org/viewvc/llvm-project?rev=47386&view=rev
Log:
Fix typo. Add const version of getAggregateValue() accessor member function.

Modified:
    llvm/trunk/include/llvm/Instructions.h

Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=47386&r1=47385&r2=47386&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Wed Feb 20 12:36:16 2008
@@ -2371,10 +2371,15 @@
     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);
   }
 





More information about the llvm-commits mailing list