[WebAssembly] Eliminate an ad-hoc command-line argument.
authorDan Gohman <dan433584@gmail.com>
Sat, 3 Dec 2016 23:00:12 +0000 (23:00 +0000)
committerDan Gohman <dan433584@gmail.com>
Sat, 3 Dec 2016 23:00:12 +0000 (23:00 +0000)
commit66caac5735624f10a90921e43bb8c27eca58bee5
treef8528f3eee049022347110bfcc204712695df366
parent9c89ba7fa7179c1ae70a1da2995d1246e95720b3
[WebAssembly] Eliminate an ad-hoc command-line argument.

Use the target triple to determine whether to run the explicit-locals
pass, rather than using a separate command-line argument.

llvm-svn: 288602
llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp