Parent: #467; related #465, #466 and #491. Follows #1095. Depends on: #1097 (exact checkpoints after runtime re-entry).
Executed on 2eeae7a: warmed global-name and retained-with binding writers have optimizer artifacts with side exits. A typeof-unresolvable reader and a retained-with call have no optimizer artifact. The admission fixture confirms the remaining opcodes: resolve_binding_ref, load_binding_ref (including WithBaseObject), store_binding_ref and load_var_or_undef.
Controls were executed against Node, direct system JavaScriptCore and zig-js tree/required-VM binaries. Ordinary global writes, typeof absence, strict unresolvable assignment and WithBaseObject call receivers agree. Deletion of a with-object property during RHS evaluation differs between the references: JavaScriptCore and both zig-js modes retain the selected object base and re-create its property; Node redirects this control to the global binding. Native admission must preserve the existing reference behavior rather than resolve a binding again after RHS effects.
Scope: native resolution/load/store/clear of retained References, missing-name typeof reads, named stores and declaration initialization/Annex B eligibility. Preserve exact Environment/Object/static-frame targets, strictness, TDZ and readonly errors, the optional call receiver, and invocation-local storage. Reuse canonical bytecode operations; keep every retained base/value precisely rooted across runtime re-entry and movement. No name-based recognition, frozen environment values, repeated ResolveBinding, missing receiver or callback replay.
Definition of done:
- SSA/native operation metadata covers the complete family, with verifier and allocation-failure qualification and exact effect/exception/root states.
- Entry/region native execution is proved; forced optimizer-off/on controls preserve assignment/RHS order, proxy/unscopables/getter/setter effects, strict/TDZ/readonly errors and call receivers.
- Retained references and invocation-local declaration state survive moving GC, recursion, shared-realm execution, exact budget/termination, and unsuppressed TSan.
- Exact-parent affected corpus, production and appropriate threading/doc gates pass; small conventional implementation/evidence lands on main.