From 0eb26e623a7382e1c6d3b5ce33f7a304371414cf Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Tue, 15 Oct 2024 22:04:05 +0200
Subject: [PATCH] wasm_canonical_rtts() is WeakFixedArray not List, so use
 lowercase get

---
 v8/src/wasm/interpreter/wasm-interpreter-runtime.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v8/src/wasm/interpreter/wasm-interpreter-runtime.cc b/v8/src/wasm/interpreter/wasm-interpreter-runtime.cc
index da9d701..84adddf 100644
--- a/v8/src/wasm/interpreter/wasm-interpreter-runtime.cc
+++ b/v8/src/wasm/interpreter/wasm-interpreter-runtime.cc
@@ -1868,7 +1868,7 @@ bool WasmInterpreterRuntime::CheckIndirectCallSignature(
 
       Tagged<Map> rtt = Tagged<Map>::cast(isolate_->heap()
                                               ->wasm_canonical_rtts()
-                                              ->Get(real_sig_id)
-                                              .GetHeapObject());
+                                              ->get(real_sig_id)
+                                              .GetHeapObjectAssumeWeak());
       Handle<Map> formal_rtt = RttCanon(sig_index);
       return SubtypeCheck(rtt, *formal_rtt, sig_index);
-- 
2.47.0

