Index: test/cctest/wasm/test-run-wasm-module.cc |
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc |
index a3dd35713dfb23ca4c54fdd2a978716de1b8e544..090d51a53c3b834db3afde5695c4045d612e013f 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -272,7 +272,7 @@ class WasmSerializationTest { |
{ |
DisallowHeapAllocation assume_no_gc; |
Handle<WasmCompiledModule> compiled_part( |
- WasmCompiledModule::cast(module_object->GetInternalField(0)), |
+ WasmCompiledModule::cast(module_object->GetEmbedderField(0)), |
current_isolate()); |
CHECK_EQ(memcmp(compiled_part->module_bytes()->GetCharsAddress(), |
wire_bytes().first, wire_bytes().second), |