Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: src/WasmTranslator.cpp

Issue 1856323004: Subzero. Fixes Browser Build (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Removes Wasm translator from browser build Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/IceCompiler.cpp ('K') | « src/WasmTranslator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« src/IceCompiler.cpp ('K') | « src/WasmTranslator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698