From f201263192683504fc237eec631f347604cd6de8 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 17 Aug 2015 22:35:40 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245252 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Triple.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index a946e19f53b..a2a88d2cb71 100644 --- a/lib/Support/Triple.cpp +++ b/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"; } } -- 2.34.1