diff options
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp index 3a86eb5f070..7ccd2546c06 100644 --- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp +++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp @@ -21,13 +21,11 @@ using namespace llvm; class MCJITTest : public testing::Test, public MCJITTestBase { protected: - virtual void SetUp(); + virtual void SetUp() { + M.reset(createEmptyModule("<main>")); + } }; -void MCJITTest::SetUp() { - M.reset(createEmptyModule("<main>")); -} - namespace { // FIXME: Ensure creating an execution engine does not crash when constructed |