aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-08-17 22:35:40 +0000
committerDan Gohman <dan433584@gmail.com>2015-08-17 22:35:40 +0000
commit4e2d799cabdc6cd4d9e38e7594088f44ed952fba (patch)
treecce8c1b561720a51de7a00d4c22a01953bc7acb6 /llvm/lib/Support/Triple.cpp
parent15c2f936de4724755c4e72baafb67000d51beae6 (diff)
downloadllvm-4e2d799cabdc6cd4d9e38e7594088f44ed952fba.zip
llvm-4e2d799cabdc6cd4d9e38e7594088f44ed952fba.tar.gz
llvm-4e2d799cabdc6cd4d9e38e7594088f44ed952fba.tar.bz2
[WebAssembly] Make getArchTypePrefix return "wasm".
The arch prefix string isn't currently being used for anything on WebAssembly, but if it were to be used, it makes sense to use the same arch prefix string for wasm32 and wasm64. llvm-svn: 245252
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index a946e19..a2a88d2 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -124,8 +124,8 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
case spir64: return "spir";
case kalimba: return "kalimba";
case shave: return "shave";
- case wasm32: return "wasm32";
- case wasm64: return "wasm64";
+ case wasm32:
+ case wasm64: return "wasm";
}
}