Convert more comptime-getters to fast getters

Follow up to https://github.com/lightpanda-io/browser/pull/1495 which introduced
the concept of a fast getter. This commit expands the new behavior to all
comptime-known scalar getters.

It also leverages the new `v8__FunctionTemplate__New__Config` to
1 - flag fast getters as having no side effect
2 - set the length (arity) on all functions
This commit is contained in:
Karl Seguin
2026-02-09 11:35:27 +08:00
parent 0a410a5544
commit 8d49515a3c
18 changed files with 108 additions and 211 deletions

View File

@@ -3,7 +3,7 @@ FROM debian:stable-slim
ARG MINISIG=0.12
ARG ZIG_MINISIG=RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
ARG V8=14.0.365.4
ARG ZIG_V8=v0.2.7
ARG ZIG_V8=v0.2.8
ARG TARGETPLATFORM
RUN apt-get update -yq && \