update to latest llvm API

This commit is contained in:
Andrew Kelley 2018-04-04 18:27:52 -04:00
parent cca93908e6
commit 5800faa318
3 changed files with 2 additions and 2 deletions

View File

@ -162,6 +162,7 @@ static const Os os_list[] = {
OsZen,
};
// Coordinate with zig_llvm.h
static const ZigLLVM_EnvironmentType environ_list[] = {
ZigLLVM_UnknownEnvironment,
@ -182,7 +183,6 @@ static const ZigLLVM_EnvironmentType environ_list[] = {
ZigLLVM_Itanium,
ZigLLVM_Cygnus,
ZigLLVM_CoreCLR,
ZigLLVM_OpenCL,
ZigLLVM_Simulator,
};

View File

@ -37,6 +37,7 @@
#include <llvm/Transforms/IPO/PassManagerBuilder.h>
#include <llvm/Transforms/IPO/AlwaysInliner.h>
#include <llvm/Transforms/Scalar.h>
#include <llvm/Transforms/Utils.h>
#include <lld/Common/Driver.h>

View File

@ -376,7 +376,6 @@ enum ZigLLVM_EnvironmentType {
ZigLLVM_Itanium,
ZigLLVM_Cygnus,
ZigLLVM_CoreCLR,
ZigLLVM_OpenCL,
ZigLLVM_Simulator,
ZigLLVM_LastEnvironmentType = ZigLLVM_Simulator