Revert r194865 and r194874.
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / MCJITTest.cpp
index 3a86eb5f0701b19b2570029a787bba39f638ca79..7ccd2546c063b0250427b85261db3d56465239ae 100644 (file)
@@ -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