From e32deb455b089e7ffc20828eff058cc99f9d2bf6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Nov 2001 16:19:45 +0000 Subject: Hack a structure profiling option together llvm-svn: 1267 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h') 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 { -- cgit v1.2.3