# Gate-3a slice: the ROOT HEAP bring-up and the Memory:: layer, on top of
# gate 2's allocator family (the smoke links slice_gate2.txt as well).
# The OS arena underneath is port/hal/os_arena.cpp.

src/_ZN4Heap13SetupRootHeapEv.cpp
src/_ZN4Heap14CreateRootHeapEPvj.cpp
src/_ZN4Heap19CreateExpandingHeapEjPS_i.cpp
src/_ZN4Heap28CreateExpandingHeapAllocatorEPvjj.cpp
src/_ZN4HeapC2EPvjPS_.cpp
src/_ZN13ExpandingHeapC1EPvjP4HeapP22ExpandingHeapAllocator.cpp
src/_ZN13ExpandingHeap9VAllocateEji.cpp
src/_ZN13ExpandingHeap11VDeallocateEPv.cpp
src/_ZN13ExpandingHeap7VSizeofEPv.cpp
# Gate 16 grew the heap vtable from the eight slots this gate could evidence
# to the ROM's sixteen, so slots 8 and 9 -- VReallocate and VSizeof, the two
# Model::LoadAndSetFile reaches through -- resolve in EVERY gate binary, not
# just the one that calls them.
src/_ZN13ExpandingHeap11VReallocateEPvj.cpp
src/_ZN22ExpandingHeapAllocator10ReallocateEPvj.cpp
src/_ZN13ExpandingHeap11VMemoryLeftEv.cpp
src/_ZN6Memory8AllocateEj.cpp
src/_ZN6Memory8AllocateEji.cpp
src/_ZN6Memory8AllocateEjiP4Heap.cpp
src/_ZN6Memory10DeallocateEPv.cpp
src/_ZN6Memory10DeallocateEPvP4Heap.cpp
src/_ZN4Heap8AllocateEji.cpp
src/_ZN4Heap10DeallocateEPv.cpp
src/_ZN22ExpandingHeapAllocator10MemoryLeftEv.cpp
# LINKAGE SEAT: the three self-contained ExpandingHeap V-methods (VIntact
# 0x0203c65c, VRescue 0x0203c630, VResizeToFit 0x0203c388, all 2004/b56
# byte-matches). Zero callees, so they are safe in the gate every target
# links; hal/heap_vtable.cpp seats them into slots 6/7/15 of
# _ZTV13ExpandingHeap, and that naming is the reference edge.
src/_ZN13ExpandingHeap7VIntactEv.cpp
src/_ZN13ExpandingHeap7VRescueEv.cpp
src/_ZN13ExpandingHeap12VResizeToFitEv.cpp
# LINKAGE SEAT 2: the NodeID pair (VSetNodeID 0x0203c3f8, VGetNodeID
# 0x0203c3e0) and the allocator's own flat-C accessors they forward to
# (SetNodeID 0x0204e0e8, GetNodeID 0x0204e0e0). heap_vtable.cpp seats the
# V-methods into slots 13/14 of _ZTV13ExpandingHeap and bridges the C++
# method calls to the flat definitions; no further callees, so the whole
# chain is safe in the gate every target links.
src/_ZN13ExpandingHeap10VSetNodeIDEj.cpp
src/_ZN13ExpandingHeap10VGetNodeIDEv.cpp
src/_ZN22ExpandingHeapAllocator9SetNodeIDEj.cpp
src/_ZN22ExpandingHeapAllocator9GetNodeIDEv.cpp
