mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
Fix WebAssembly build after r283702.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283723 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a9268c4935
commit
a56b5b5487
@ -19,8 +19,14 @@ using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "wasm-target-info"
|
||||
|
||||
Target llvm::getTheWebAssemblyTarget32();
|
||||
Target llvm::getTheWebAssemblyTarget64();
|
||||
Target &llvm::getTheWebAssemblyTarget32() {
|
||||
static Target TheWebAssemblyTarget32;
|
||||
return TheWebAssemblyTarget32;
|
||||
}
|
||||
Target &llvm::getTheWebAssemblyTarget64() {
|
||||
static Target TheWebAssemblyTarget64;
|
||||
return TheWebAssemblyTarget64;
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeWebAssemblyTargetInfo() {
|
||||
RegisterTarget<Triple::wasm32> X(getTheWebAssemblyTarget32(), "wasm32",
|
||||
|
Loading…
Reference in New Issue
Block a user