[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Dec 10 00:31:34 PST 2004



Changes in directory llvm-java/lib/Compiler:

Compiler.cpp updated: 1.175 -> 1.176
---
Log message:

Name the GEP with the field name so that the generated llvm is easier to inspect

---
Diffs of the changes:  (+1 -1)

Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.175 llvm-java/lib/Compiler/Compiler.cpp:1.176
--- llvm-java/lib/Compiler/Compiler.cpp:1.175	Fri Dec 10 01:15:57 2004
+++ llvm-java/lib/Compiler/Compiler.cpp	Fri Dec 10 02:31:17 2004
@@ -1189,7 +1189,7 @@
         }
       }
 
-      return new GetElementPtrInst(ptr, indices, TMP, currentBB_);
+      return new GetElementPtrInst(ptr, indices, fieldName, currentBB_);
     }
 
     /// Compiles the passed method only (it does not compile any






More information about the llvm-commits mailing list