• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / goro / 26434484640
13%

Build:
DEFAULT BRANCH: master
Ran 26 May 2026 05:40AM UTC
Jobs 1
Files 398
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 May 2026 05:38AM UTC coverage: 12.53% (-0.004%) from 12.534%
26434484640

push

github

MagicalTux
compiler: relax IsSlotSafe gates for natively-emitted writes

Object-prop / static-prop / dyn-name compound assigns and inc/dec,
plus $local[k] OP=/++, all now emit natively (no AST.Run delegation).
The dispatch handlers don't touch caller locals, so bodies containing
these writes can remain slot-only — the slot cache stays authoritative
without OffsetSet/OffsetCheck round-trips through the hashtable.

Specifically:
  - runObjectVar: drop isCompound|isIncDec gate (was forcing slot-unsafe
    for $obj->n += v / $obj->n++); the static-name and dollar-prefix
    dyn-name shapes are both natively lowered.
  - runClassStaticVarRef: drop isCompound|isIncDec gate; plain '=',
    compound, and inc/dec all emit natively now.
  - runClassStaticDynVarRef: previously unconditional return false; now
    a no-op fall-through since the dyn-name write/compound/incdec all
    emit natively too.
  - runArrayAccess: drop isCompound|isIncDec gate when the container
    is a simple variable (matches the OP_ARRAY_COMPOUND_ASSIGN_LOCAL /
    OP_ARRAY_INC_DEC_LOCAL fast paths from the previous commit). Nested
    containers ($obj->arr[i] += v, $a[i][j]++, …) still slot-unsafe.

Smoke-tested: loop_obj_compound, loop_static_compound, loop_compound
all byte-identical to AST baseline; expr-context ($z = ($arr[0] *= 3)
+ $arr[1]) byte-identical.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

19 of 20 new or added lines in 1 file covered. (95.0%)

4 existing lines in 1 file now uncovered.

14964 of 119430 relevant lines covered (12.53%)

2559.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
48.17
-0.72% core/compiler/dispatch.go

Coverage Regressions

Lines Coverage ∆ File
4
48.17
-0.72% core/compiler/dispatch.go
Jobs
ID Job ID Ran Files Coverage
1 26434484640.1 26 May 2026 05:40AM UTC 398
12.53
GitHub Action Run
Source Files on build 26434484640
  • Tree
  • List 398
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26434484640
  • ba828849 on github
  • Prev Build on master (#26434357893)
  • Next Build on master (#26434971110)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc