| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index ecd3c43c9c5e7855254875c3ef793eb11e992eb1..9d2121e54379ecb51d812aff8acfbfb7bb43babc 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -18,6 +18,10 @@
|
| #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 {
|
|
|
| @@ -2666,6 +2670,11 @@ bool Genesis::InstallSpecialObjects(Handle<Context> native_context) {
|
| Handle<Object> global_proxy(debug_context->global_proxy(), isolate);
|
| JSObject::AddProperty(global, debug_string, global_proxy, DONT_ENUM);
|
| }
|
| +
|
| +#if defined(V8_WASM)
|
| + WasmJs::Install(isolate, global);
|
| +#endif
|
| +
|
| return true;
|
| }
|
|
|
|
|