Index: src/IceCompiler.cpp |
diff --git a/src/IceCompiler.cpp b/src/IceCompiler.cpp |
index 13545c7a0837836f23fdd82c11bed08713ea90e2..fbe05777d1b62cd43cf5ce8546b3baaf63a326c5 100644 |
--- a/src/IceCompiler.cpp |
+++ b/src/IceCompiler.cpp |
@@ -56,7 +56,7 @@ bool llvmIRInput(const std::string &Filename) { |
} |
bool wasmInput(const std::string &Filename) { |
- return BuildDefs::llvmIrAsInput() && |
+ return BuildDefs::wasm() && |
std::regex_match(Filename, std::regex(".*\\.wasm")); |
} |