diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-02 21:11:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-02 21:11:16 +0000 |
commit | 8b952fa7aeb71206cd22370811be56dc78e0f68c (patch) | |
tree | 8bfd29344f3b45c2356e073d5be14a7a42e39f2e /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | dabbf17b47031dcf924d76ebe3d0caac5ef51b1f (diff) | |
download | bcm5719-llvm-8b952fa7aeb71206cd22370811be56dc78e0f68c.tar.gz bcm5719-llvm-8b952fa7aeb71206cd22370811be56dc78e0f68c.zip |
Cleanup #includes, expose module
llvm-svn: 4021
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 3ead31a3031..3573d17fb4b 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -8,12 +8,9 @@ #define LLI_INTERPRETER_H // Uncomment this line to enable profiling of structure field accesses. -#define PROFILE_STRUCTURE_FIELDS 1 - +//#define PROFILE_STRUCTURE_FIELDS 1 #include "llvm/Module.h" -#include "llvm/Function.h" -#include "llvm/BasicBlock.h" #include "Support/DataTypes.h" #include "llvm/Assembly/CachedWriter.h" @@ -110,6 +107,7 @@ public: // getExitCode - return the code that should be the exit code for the lli // utility. inline int getExitCode() const { return ExitCode; } + inline Module *getModule() const { return CurMod; } // enableProfiling() - Turn profiling on, clear stats? void enableProfiling() { Profile = true; } |