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

Unified Diff: src/bootstrapper.cc

Issue 1531073003: Revert of Remove wasm compile time option and enable wasm behind a runtime flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « build/features.gypi ('k') | src/d8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « build/features.gypi ('k') | src/d8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698