Skip to content

Commit

Permalink
JSG Completion: remove jsg::v8Str use in worker-api.c++
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Sep 1, 2023
1 parent 0c5f644 commit 489fc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/server/workerd-api.c++
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ kj::Array<Worker::Script::CompiledGlobal> WorkerdApiIsolate::compileScriptGlobal
auto compiledGlobals = kj::heapArrayBuilder<Worker::Script::CompiledGlobal>(wasmCount);
for (auto binding: conf.getBindings()) {
if (binding.isWasmModule()) {
auto name = jsg::v8StrIntern(lock.v8Isolate, binding.getName());
auto name = lock.str(binding.getName());
auto value = Impl::compileWasmGlobal(lock, binding.getWasmModule(), observer);

compiledGlobals.add(Worker::Script::CompiledGlobal {
Expand Down

0 comments on commit 489fc6e

Please sign in to comment.