mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-26 07:01:05 +00:00
Also initialize ScriptInterpreterNone if Python is disabled
Summary: We get an assertion otherwise because the None Interpreter cannot be found Reviewers: zturner Subscribers: zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D11898 llvm-svn: 245808
This commit is contained in:
parent
7bb12261a3
commit
6e77677f7b
@ -231,6 +231,7 @@ void
|
||||
SystemInitializerFull::Initialize()
|
||||
{
|
||||
SystemInitializerCommon::Initialize();
|
||||
ScriptInterpreterNone::Initialize();
|
||||
|
||||
#if !defined(LLDB_DISABLE_PYTHON)
|
||||
InitializeSWIG();
|
||||
@ -238,7 +239,6 @@ SystemInitializerFull::Initialize()
|
||||
// ScriptInterpreterPython::Initialize() depends on things like HostInfo being initialized
|
||||
// so it can compute the python directory etc, so we need to do this after
|
||||
// SystemInitializerCommon::Initialize().
|
||||
ScriptInterpreterNone::Initialize();
|
||||
ScriptInterpreterPython::Initialize();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user