Skip to content

Stdlib: array_values() native LLVM JIT/AOT#231

Merged
PurHur merged 1 commit into
masterfrom
feat/stdlib-array-values-jit
May 18, 2026
Merged

Stdlib: array_values() native LLVM JIT/AOT#231
PurHur merged 1 commit into
masterfrom
feat/stdlib-array-values-jit

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 18, 2026

Summary

  • Implement array_values() for LLVM JIT and AOT on packed list arrays (native fixed arrays and dynamic hashtables).
  • Add compliance JIT spec and AOT fixture for integer list re-indexing.
  • Fix LLVM basic-block terminator gaps in in_array() and copyInto() helpers (reduces JIT verify failures).

Test plan

  • bash script/docker-ci.sh — non-LLVM suite passes (236 tests)
  • VM compliance: array_values.phpt
  • AOT fixture: array_values.phpt compiles and runs with expected output
  • docs/capabilities.md updated (array_values: VM/JIT/AOT yes)

Made with Cursor

Add native LLVM paths for array_values() on native and hashtable arrays,
with compliance and AOT specs. Fix missing terminators in in_array and
array copy LLVM helpers that blocked verification.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 19ba7c9 into master May 18, 2026
@PurHur PurHur deleted the feat/stdlib-array-values-jit branch May 18, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant