← board

xtensa: class instantiation (VMT + ctor) not supported

Problem

TA.Create fails with target xtensa: class instantiation not yet supported. riscv32 got the full path on 2026-07-03 (alloc + VMT store + ctor call + IR_VIRTUAL_CALL, mirroring arm32); xtensa still has the stage-1 error in its tkGetMem branch and no IR_VIRTUAL_CALL case.

Scope

Port the riscv32/arm32 shape: GetMem class branch (VMT via EmitLoadDataRefXtensa + ctor call, windowed + Call0 arg conventions) and IR_VIRTUAL_CALL ([Self] -> VMT -> slot*8, callx8/callx0).

Acceptance

Log