diff options
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 3b96a78..da4cd09 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -965,7 +965,9 @@ bool JITEmitter::finishFunction(MachineFunction &F) { TheJIT->RegisterTable(FrameRegister); } - MMI->EndFunction(); + + if (MMI) + MMI->EndFunction(); return false; } |