Skip to content
Snippets Groups Projects
Commit 1c84ff5f authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

MCJITTests/MCJITCAPITest.cpp: Try to appease i686-win32.

llvm-svn: 243639
parent 2041b1dd
No related branches found
No related tags found
No related merge requests found
......@@ -496,6 +496,7 @@ TEST_F(MCJITCAPITest, addGlobalMapping) {
SKIP_UNSUPPORTED_PLATFORM;
Module = LLVMModuleCreateWithName("testModule");
LLVMSetTarget(Module, HostTriple.c_str());
LLVMTypeRef FunctionType = LLVMFunctionType(LLVMInt32Type(), NULL, 0, 0);
LLVMValueRef MappedFn = LLVMAddFunction(Module, "mapped_fn", FunctionType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment