Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 2d331c9e83ee094cdaa91d9cd9c3225c5eba0906..0b4899fb65e7b44576f798b27666c89b4703c503 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -742,7 +742,7 @@ RUNTIME_FUNCTION(Runtime_SerializeWasmModule) { |
DCHECK(args.length() == 1); |
CONVERT_ARG_HANDLE_CHECKED_2(WasmModuleObject, module_obj, 0); |
- Handle<WasmCompiledModule> orig = handle(module_obj->get_compiled_module()); |
+ Handle<WasmCompiledModule> orig(module_obj->compiled_module()); |
std::unique_ptr<ScriptData> data = |
WasmCompiledModuleSerializer::SerializeWasmModule(isolate, orig); |
void* buff = isolate->array_buffer_allocator()->Allocate(data->length()); |