Add high level description of MachineInstr bundles.
[oota-llvm.git] / docs / WritingAnLLVMPass.html
index 831e94cd5fe010fce7adcf707451756f7105fbb8..66b98b681ab4f1bfc752b68247203046e756fdbb 100644 (file)
@@ -284,7 +284,7 @@ time.</p>
 <div class="doc_code">
 <pre>
     static char ID;
-    Hello() : FunctionPass(&amp;ID) {}
+    Hello() : FunctionPass(ID) {}
 </pre>
 </div>
 
@@ -347,7 +347,7 @@ supplied as the fourth argument.</p>
   <b>struct Hello</b> : <b>public</b> <a href="#FunctionPass">FunctionPass</a> {
     
     static char ID;
-    Hello() : FunctionPass(&amp;ID) {}
+    Hello() : FunctionPass(ID) {}
 
     <b>virtual bool</b> <a href="#runOnFunction">runOnFunction</a>(Function &amp;F) {
       errs() &lt;&lt; "<i>Hello: </i>";