Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 72d7f994b11bfacf774e836672d3d1c47f0be006..4409d935229c792c59d0039a7d8ad205f0357fc4 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -16,7 +16,11 @@ |
#include "src/isolate-inl.h" |
#include "src/snapshot/natives.h" |
#include "src/snapshot/snapshot.h" |
+#include "third_party/fdlibm/fdlibm.h" |
+ |
+#if defined(V8_WASM) |
#include "src/wasm/wasm-js.h" |
+#endif |
namespace v8 { |
namespace internal { |
@@ -2851,9 +2855,11 @@ |
JSObject::AddProperty(global, debug_string, global_proxy, DONT_ENUM); |
} |
+#if defined(V8_WASM) |
if (FLAG_expose_wasm) { |
WasmJs::Install(isolate, global); |
} |
+#endif |
return true; |
} |