Change FunctionInfo from being an annotation put on Functions to be
[oota-llvm.git] / lib / ExecutionEngine / Interpreter / Interpreter.h
index 26ed2dc6d156141cc89ff682433cc0b16db88c0d..61d391a360a7bc849ad3d634b4a32f25ac622cc5 100644 (file)
@@ -82,6 +82,8 @@ class Interpreter : public ExecutionEngine, public InstVisitor<Interpreter> {
   // AtExitHandlers - List of functions to call when the program exits,
   // registered with the atexit() library function.
   std::vector<Function*> AtExitHandlers;
+
+  std::map<Function*, FunctionInfo*> FunctionInfoMap;
 public:
   Interpreter(Module *M, bool isLittleEndian, bool isLongPointer,
               bool TraceMode);