Index: src/WasmTranslator.cpp |
diff --git a/src/WasmTranslator.cpp b/src/WasmTranslator.cpp |
index 4773526f4db6150c42f2e5e56d0ba55bbd973e28..b42ad7761442d9adee2475aaa18f9eefa8cb1f0a 100644 |
--- a/src/WasmTranslator.cpp |
+++ b/src/WasmTranslator.cpp |
@@ -15,6 +15,8 @@ |
/// |
//===----------------------------------------------------------------------===// |
+#if ALLOW_WASM |
+ |
#include "llvm/Support/StreamingMemoryObject.h" |
#include "WasmTranslator.h" |
@@ -813,3 +815,5 @@ void WasmTranslator::translate( |
return; |
} |
+ |
+#endif // ALLOW_WASM |