File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -282,9 +282,7 @@ struct Reducer
282
282
// compensated for), and without
283
283
for (auto pass : passes) {
284
284
std::string currCommand = Path::getBinaryenBinaryTool (" wasm-opt" ) + " " ;
285
- // TODO(tlively): -all should be replaced with an option to use the
286
- // existing feature set, once implemented.
287
- currCommand += working + " -all -o " + test + " " + pass;
285
+ currCommand += working + " --detect-features -o " + test + " " + pass;
288
286
if (debugInfo) {
289
287
currCommand += " -g " ;
290
288
}
@@ -1191,10 +1189,8 @@ int main(int argc, const char* argv[]) {
1191
1189
" (read-written) binary\n " ;
1192
1190
{
1193
1191
// read and write it
1194
- // TODO(tlively): -all should be replaced with an option to use the existing
1195
- // feature set, once implemented.
1196
1192
auto cmd = Path::getBinaryenBinaryTool (" wasm-opt" ) + " " + input +
1197
- " -all -o " + test;
1193
+ " --detect-features -o " + test;
1198
1194
if (!binary) {
1199
1195
cmd += " -S" ;
1200
1196
}
You can’t perform that action at this time.
0 commit comments