mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Cleanup #includes, expose module
llvm-svn: 4021
This commit is contained in:
parent
68960ff1c7
commit
f6b465732c
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user