diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-06-30 03:52:25 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-06-30 03:52:25 +0000 |
commit | 8465c00762751d3145220e29a3a503b2dab41b40 (patch) | |
tree | b0e077409b0a0ca43edf4c681e0e5e8237a5401c /llvm/lib | |
parent | 0ad71d982c8b1023d6f5fc1c516c1e0900c75978 (diff) | |
download | bcm5719-llvm-8465c00762751d3145220e29a3a503b2dab41b40.tar.gz bcm5719-llvm-8465c00762751d3145220e29a3a503b2dab41b40.zip |
Drop the OS from the WebAssembly target triple for now.
This unbreaks TripleTest.Normalization. We'll have to come up with a new
plan for the OS component of the target triple for WebAssembly.
llvm-svn: 241041
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 1bd0d0187d5..92be0e047f6 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -177,7 +177,6 @@ const char *Triple::getOSTypeName(OSType Kind) { case NVCL: return "nvcl"; case AMDHSA: return "amdhsa"; case PS4: return "ps4"; - case WebAssembly: return "wasm"; } llvm_unreachable("Invalid OSType"); @@ -415,7 +414,6 @@ static Triple::OSType parseOS(StringRef OSName) { .StartsWith("nvcl", Triple::NVCL) .StartsWith("amdhsa", Triple::AMDHSA) .StartsWith("ps4", Triple::PS4) - .StartsWith("wasm", Triple::WebAssembly) .Default(Triple::UnknownOS); } |