[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
This commit is contained in:
Dan Gohman 2015-08-17 22:35:40 +00:00
parent 15c2f936de
commit 4e2d799cab
1 changed files with 2 additions and 2 deletions

View File

@ -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";
}
}