Both try notes and yield offsets are compartment-less data (they're not even GC things), and should be moved to SharedScriptData.
Additional things that should be shared: - The scalar fields that are semantically dependent on the bytecode: mainOffset_, nfixed_, nslots_ - The bit fields that are semantic properties of the script (e.g. argsHasVarBinding_, isAsync_) instead of runtime profiled information (e.g. failedBoundsCheck_). Someone would need to audit the fields to separate the two kinds of flags.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.