Fix a crash in JIT::recompileAndRelinkFunction(). It doesn't pass the MCI
authorJeffrey Yasskin <jyasskin@google.com>
Tue, 22 Dec 2009 23:18:18 +0000 (23:18 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Tue, 22 Dec 2009 23:18:18 +0000 (23:18 +0000)
commit92fdf4537bd298673552d47adac2ff7bceab9dc9
treecc1b23da37c2a4bbc99761558490360044203fe1
parent167bea71a4bd19329a218f5e1bd8facfd90a0cf9
Fix a crash in JIT::recompileAndRelinkFunction(). It doesn't pass the MCI
argument to runJITOnFunction(), which caused a null pointer dereference at
every call.

Patch by Gianluca Guida!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/JIT.cpp
unittests/ExecutionEngine/JIT/JITTest.cpp