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

llvm-svn: 243639
This commit is contained in:
NAKAMURA Takumi 2015-07-30 13:06:53 +00:00
parent 2041b1dd0b
commit 1c84ff5f60
1 changed files with 1 additions and 0 deletions

View File

@ -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);