Index: unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp |
diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp |
index 07ea1afe1a85f69f1746bb7e3c05140a38d0da04..d8cf6c592d3b3e91000a6bef6ecbfa7a38b67fad 100644 |
--- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp |
+++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp |
@@ -48,8 +48,6 @@ TEST_F(MCJITCAPITest, simple_function) { |
// Creates a function that returns 42, compiles it, and runs it. |
LLVMModuleRef module = LLVMModuleCreateWithName("simple_module"); |
- |
- LLVMSetTarget(module, HostTriple.c_str()); |
LLVMValueRef function = LLVMAddFunction( |
module, "simple_function", LLVMFunctionType(LLVMInt32Type(), 0, 0, 0)); |