diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-20 18:36:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-20 18:36:02 +0000 |
commit | 6e6026b46569b01f8f6d4dcdb6c899c3a9c76b3e (patch) | |
tree | 57322a305c9e9d3273ae9d3d09728ec2662e97d8 /docs | |
parent | c09aab0a4de7e3f65dd830803faadb7abae28872 (diff) | |
download | external_llvm-6e6026b46569b01f8f6d4dcdb6c899c3a9c76b3e.zip external_llvm-6e6026b46569b01f8f6d4dcdb6c899c3a9c76b3e.tar.gz external_llvm-6e6026b46569b01f8f6d4dcdb6c899c3a9c76b3e.tar.bz2 |
- Eliminated the deferred symbol table stuff in Module & Function, it really
wasn't an optimization and it was causing lots of bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ProgrammersManual.html | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 26d4550..2e14c6b 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -1441,26 +1441,10 @@ This traverses the <a href="#Type"><tt>Type</tt></a> of the <tt>Function</tt> and returns the return type of the function, or the <a href="#FunctionType"><tt>FunctionType</tt></a> of the actual function.<p> - -<li><tt>bool hasSymbolTable() const</tt><p> - -Return true if the <tt>Function</tt> has a symbol table allocated to it and if -there is at least one entry in it.<p> - <li><tt><a href="#SymbolTable">SymbolTable</a> *getSymbolTable()</tt><p> Return a pointer to the <a href="#SymbolTable"><tt>SymbolTable</tt></a> for this -<tt>Function</tt> or a null pointer if one has not been allocated (because there -are no named values in the function).<p> - -<li><tt><a href="#SymbolTable">SymbolTable</a> *getSymbolTableSure()</tt><p> - -Return a pointer to the <a href="#SymbolTable"><tt>SymbolTable</tt></a> for this -<tt>Function</tt> or allocate a new <a -href="#SymbolTable"><tt>SymbolTable</tt></a> if one is not already around. This -should only be used when adding elements to the <a -href="#SymbolTable"><tt>SymbolTable</tt></a>, so that empty symbol tables are -not left laying around.<p> +<tt>Function</tt>.<p> @@ -1580,25 +1564,10 @@ action that doesn't have a forwarding method.<p> <!-- Symbol table stuff --> <hr size=0> -<li><tt>bool hasSymbolTable() const</tt><p> - -Return true if the <tt>Module</tt> has a symbol table allocated to it and if -there is at least one entry in it.<p> - <li><tt><a href="#SymbolTable">SymbolTable</a> *getSymbolTable()</tt><p> -Return a pointer to the <a href="#SymbolTable"><tt>SymbolTable</tt></a> for this -<tt>Module</tt> or a null pointer if one has not been allocated (because there -are no named values in the function).<p> - -<li><tt><a href="#SymbolTable">SymbolTable</a> *getSymbolTableSure()</tt><p> - -Return a pointer to the <a href="#SymbolTable"><tt>SymbolTable</tt></a> for this -<tt>Module</tt> or allocate a new <a -href="#SymbolTable"><tt>SymbolTable</tt></a> if one is not already around. This -should only be used when adding elements to the <a -href="#SymbolTable"><tt>SymbolTable</tt></a>, so that empty symbol tables are -not left laying around.<p> +Return a reference to the <a href="#SymbolTable"><tt>SymbolTable</tt></a> for +this <tt>Module</tt>.<p> <!-- Convenience methods --> @@ -1776,6 +1745,6 @@ pointer to the parent Function. <a href="mailto:sabre@nondot.org">Chris Lattner</a></address> <!-- Created: Tue Aug 6 15:00:33 CDT 2002 --> <!-- hhmts start --> -Last modified: Fri Nov 8 00:48:37 CST 2002 +Last modified: Wed Nov 20 12:21:34 CST 2002 <!-- hhmts end --> </font></body></html> |