[llvm-commits] CVS: llvm/docs/LangRef.html

Brian Gaeke gaeke at cs.uiuc.edu
Fri Jul 2 20:18:39 PDT 2004


Changes in directory llvm/docs:

LangRef.html updated: 1.70 -> 1.71

---
Log message:

Modernize example, so that you can paste it right into llvm-as


---
Diffs of the changes:  (+6 -3)

Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.70 llvm/docs/LangRef.html:1.71
--- llvm/docs/LangRef.html:1.70	Fri Jun 25 11:42:50 2004
+++ llvm/docs/LangRef.html	Fri Jul  2 16:08:14 2004
@@ -1511,8 +1511,11 @@
   %RT = type { sbyte, [10 x [20 x int]], sbyte }
   %ST = type { int, double, %RT }
 
-  int* "foo"(%ST* %s) {
-    %reg = getelementptr %ST* %s, int 1, uint 2, uint 1, int 5, int 13<br>
+  implementation
+
+  int* %foo(%ST* %s) {
+  entry:
+    %reg = getelementptr %ST* %s, int 1, uint 2, uint 1, int 5, int 13
     ret int* %reg
   }
 </pre>
@@ -2590,7 +2593,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/06/25 16:42:50 $
+  Last modified: $Date: 2004/07/02 21:08:14 $
 </address>
 </body>
 </html>





More information about the llvm-commits mailing list