diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-08-17 22:35:40 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-08-17 22:35:40 +0000 |
commit | 4e2d799cabdc6cd4d9e38e7594088f44ed952fba (patch) | |
tree | cce8c1b561720a51de7a00d4c22a01953bc7acb6 /llvm/lib/Support/Triple.cpp | |
parent | 15c2f936de4724755c4e72baafb67000d51beae6 (diff) | |
download | llvm-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.cpp | 4 |
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"; } } |