Index: src/wasm/wasm-js.cc |
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc |
index 8ca9a78d794353c3116bfdc3423c5a6a9b6b6496..d8b2822c9b0c2e2bdaac4724d9be4987667f30b2 100644 |
--- a/src/wasm/wasm-js.cc |
+++ b/src/wasm/wasm-js.cc |
@@ -314,7 +314,7 @@ void WasmJs::Install(Isolate* isolate, Handle<JSGlobalObject> global) { |
// Bind the WASM object. |
Factory* factory = isolate->factory(); |
- Handle<String> name = v8_str(isolate, "WASM"); |
+ Handle<String> name = v8_str(isolate, "_WASMEXP_"); |
Handle<JSFunction> cons = factory->NewFunction(name); |
JSFunction::SetInstancePrototype( |
cons, Handle<Object>(global->native_context()->initial_object_prototype(), |