| Index: src/wasm/wasm-js.cc
|
| diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc
|
| index bdee16a56fc9fa7e5befc7495bf8a88c824b5046..8e56c21b3e7cdfab75f44080ed962155bb679eec 100644
|
| --- a/src/wasm/wasm-js.cc
|
| +++ b/src/wasm/wasm-js.cc
|
| @@ -331,7 +331,7 @@ void WebAssemblyInstantiate(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
|
|
| HandleScope scope(isolate);
|
| - ErrorThrower thrower(i_isolate, "WebAssembly.compile()");
|
| + ErrorThrower thrower(i_isolate, "WebAssembly.instantiate()");
|
|
|
| Local<Context> context = isolate->GetCurrentContext();
|
| i::Handle<i::Context> i_context = Utils::OpenHandle(*context);
|
|
|