[llvm-commits] [llvm] r55626 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Tue Sep 2 01:14:01 PDT 2008
Author: evancheng
Date: Tue Sep 2 03:14:01 2008
New Revision: 55626
URL: http://llvm.org/viewvc/llvm-project?rev=55626&view=rev
Log:
MMI may be null.
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp?rev=55626&r1=55625&r2=55626&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp Tue Sep 2 03:14:01 2008
@@ -965,7 +965,9 @@
TheJIT->RegisterTable(FrameRegister);
}
- MMI->EndFunction();
+
+ if (MMI)
+ MMI->EndFunction();
return false;
}
More information about the llvm-commits
mailing list