Remove unused interface.
This commit is contained in:
parent
e4383ecf7d
commit
15918cd889
@ -522,7 +522,6 @@ namespace cling {
|
||||
|
||||
//FIXME: This must be in InterpreterCallbacks.
|
||||
void installLazyFunctionCreator(void* (*fp)(const std::string&));
|
||||
void suppressLazyFunctionCreatorDiags(bool suppressed = true);
|
||||
|
||||
//FIXME: Terrible hack to let the IncrementalParser run static inits on
|
||||
// transaction completed.
|
||||
|
@ -28,8 +28,6 @@ std::set<std::string> IncrementalExecutor::m_unresolvedSymbols;
|
||||
std::vector<IncrementalExecutor::LazyFunctionCreatorFunc_t>
|
||||
IncrementalExecutor::m_lazyFuncCreator;
|
||||
|
||||
bool IncrementalExecutor::m_LazyFuncCreatorDiagsSuppressed = false;
|
||||
|
||||
// Keep in source: OwningPtr<ExecutionEngine> needs #include ExecutionEngine
|
||||
IncrementalExecutor::IncrementalExecutor(llvm::Module* m)
|
||||
: m_CxaAtExitRemapped(false)
|
||||
@ -157,13 +155,10 @@ IncrementalExecutor::NotifyLazyFunctionCreators(const std::string& mangled_name)
|
||||
= m_lazyFuncCreator.begin(), et = m_lazyFuncCreator.end();
|
||||
it != et; ++it) {
|
||||
void* ret = (void*)((LazyFunctionCreatorFunc_t)*it)(mangled_name);
|
||||
if (ret)
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (m_LazyFuncCreatorDiagsSuppressed)
|
||||
return 0;
|
||||
|
||||
return HandleMissingFunction(mangled_name);
|
||||
}
|
||||
|
||||
|
@ -48,10 +48,6 @@ namespace cling {
|
||||
///
|
||||
static std::vector<LazyFunctionCreatorFunc_t> m_lazyFuncCreator;
|
||||
|
||||
///\brief Whether or not the function creator to be queried.
|
||||
///
|
||||
static bool m_LazyFuncCreatorDiagsSuppressed;
|
||||
|
||||
///\brief The llvm ExecutionEngine.
|
||||
///
|
||||
llvm::OwningPtr<llvm::ExecutionEngine> m_engine;
|
||||
@ -125,9 +121,6 @@ namespace cling {
|
||||
~IncrementalExecutor();
|
||||
|
||||
void installLazyFunctionCreator(LazyFunctionCreatorFunc_t fp);
|
||||
void suppressLazyFunctionCreatorDiags(bool suppressed = true) {
|
||||
m_LazyFuncCreatorDiagsSuppressed = suppressed;
|
||||
}
|
||||
|
||||
ExecutionResult runStaticInitializersOnce(llvm::Module* m);
|
||||
|
||||
|
@ -960,10 +960,6 @@ namespace cling {
|
||||
m_Executor->installLazyFunctionCreator(fp);
|
||||
}
|
||||
|
||||
void Interpreter::suppressLazyFunctionCreatorDiags(bool suppressed/*=true*/) {
|
||||
m_Executor->suppressLazyFunctionCreatorDiags(suppressed);
|
||||
}
|
||||
|
||||
StoredValueRef Interpreter::Evaluate(const char* expr, DeclContext* DC,
|
||||
bool ValuePrinterReq) {
|
||||
Sema& TheSema = getCI()->getSema();
|
||||
|
Loading…
x
Reference in New Issue
Block a user