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

Chris Lattner sabre at nondot.org
Tue Jun 12 10:00:49 PDT 2007



Changes in directory llvm/docs:

LangRef.html updated: 1.252 -> 1.253
---
Log message:

modernize example


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

 LangRef.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.252 llvm/docs/LangRef.html:1.253
--- llvm/docs/LangRef.html:1.252	Fri Jun  8 11:52:14 2007
+++ llvm/docs/LangRef.html	Tue Jun 12 12:00:26 2007
@@ -378,21 +378,21 @@
 
 <div class="doc_code">
 <pre><i>; Declare the string constant as a global constant...</i>
-<a href="#identifiers">%.LC0</a> = <a href="#linkage_internal">internal</a> <a
- href="#globalvars">constant</a> <a href="#t_array">[13 x i8 ]</a> c"hello world\0A\00"          <i>; [13 x i8 ]*</i>
+<a href="#identifiers">@.LC0</a> = <a href="#linkage_internal">internal</a> <a
+ href="#globalvars">constant</a> <a href="#t_array">[13 x i8]</a> c"hello world\0A\00"          <i>; [13 x i8]*</i>
 
 <i>; External declaration of the puts function</i>
-<a href="#functionstructure">declare</a> i32 %puts(i8 *)                                            <i>; i32(i8 *)* </i>
+<a href="#functionstructure">declare</a> i32 @puts(i8 *)                                            <i>; i32(i8 *)* </i>
 
 <i>; Definition of main function</i>
-define i32 %main() {                                                 <i>; i32()* </i>
+define i32 @main() {                                                 <i>; i32()* </i>
         <i>; Convert [13x i8 ]* to i8  *...</i>
         %cast210 = <a
  href="#i_getelementptr">getelementptr</a> [13 x i8 ]* %.LC0, i64 0, i64 0 <i>; i8 *</i>
 
         <i>; Call puts function to write out the string to stdout...</i>
         <a
- href="#i_call">call</a> i32 %puts(i8 * %cast210)                              <i>; i32</i>
+ href="#i_call">call</a> i32 @puts(i8 * %cast210)                              <i>; i32</i>
         <a
  href="#i_ret">ret</a> i32 0<br>}<br>
 </pre>
@@ -4830,7 +4830,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2007/06/08 16:52:14 $
+  Last modified: $Date: 2007/06/12 17:00:26 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list