MMI may be null.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-09-02 08:14:01 +00:00
parent 95ce1178e4
commit 252ddfbdbc

View File

@ -965,7 +965,9 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
TheJIT->RegisterTable(FrameRegister); TheJIT->RegisterTable(FrameRegister);
} }
MMI->EndFunction();
if (MMI)
MMI->EndFunction();
return false; return false;
} }