diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-12 16:19:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-12 16:19:45 +0000 |
commit | e32deb455b089e7ffc20828eff058cc99f9d2bf6 (patch) | |
tree | e5a8d9fc5cf94934c39b390ba174e3951a6fdd04 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | eb98368c292b33c888aa1ff14df67c4e4c4796fa (diff) | |
download | bcm5719-llvm-e32deb455b089e7ffc20828eff058cc99f9d2bf6.tar.gz bcm5719-llvm-e32deb455b089e7ffc20828eff058cc99f9d2bf6.zip |
Hack a structure profiling option together
llvm-svn: 1267
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index eba8ea9c327..7e1fde1e8d5 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -7,6 +7,10 @@ #ifndef LLI_INTERPRETER_H #define LLI_INTERPRETER_H +// Uncomment this line to enable profiling of structure field accesses. +#define PROFILE_STRUCTURE_FIELDS 1 + + #include "llvm/Module.h" #include "llvm/Method.h" #include "llvm/Support/DataTypes.h" @@ -54,7 +58,6 @@ struct ExecutionContext { // NULL if main func or debugger invoked fn }; - // Interpreter - This class represents the entirety of the interpreter. // class Interpreter { |