Change FunctionInfo from being an annotation put on Functions to be
something which is mapped from functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8580 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 26ed2dc..61d391a 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -82,6 +82,8 @@
// 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);