mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
[lldb][NFCI] Remove UserExpression::GetJITModule
UserExpression::GetJITModule was used to support an option in UserExpression::Evaluate that let you hold onto the JIT Module used during the expression evaluation. This was only actually used in one spot -- REPL::IOHandlerInputComplete. That method didn't actually take use the JIT module it got back, so this feature was not used in practice. This means that we can delete the support in UserExpression::Evaluate and delete the UserExpression::GetJITModule method entirely.
This commit is contained in:
@@ -357,8 +357,3 @@ bool LLVMUserExpression::PrepareToExecuteJITExpression(
|
||||
return true;
|
||||
}
|
||||
|
||||
lldb::ModuleSP LLVMUserExpression::GetJITModule() {
|
||||
if (m_execution_unit_sp)
|
||||
return m_execution_unit_sp->GetJITModule();
|
||||
return lldb::ModuleSP();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user