[llvm-commits] CVS: llvm/tools/lli/Interpreter.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 2 16:12:04 PDT 2002
Changes in directory llvm/tools/lli:
Interpreter.h updated: 1.21 -> 1.22
---
Log message:
Cleanup #includes, expose module
---
Diffs of the changes:
Index: llvm/tools/lli/Interpreter.h
diff -u llvm/tools/lli/Interpreter.h:1.21 llvm/tools/lli/Interpreter.h:1.22
--- llvm/tools/lli/Interpreter.h:1.21 Tue Jun 25 11:13:21 2002
+++ llvm/tools/lli/Interpreter.h Wed Oct 2 16:11:16 2002
@@ -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 @@
// 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; }
More information about the llvm-commits
mailing list