solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
272 stars 163 forks source link

Refactor - Optimize JIT registers #534

Closed Lichtso closed 11 months ago

Lichtso commented 11 months ago

Uses RDI (argument register 0) for REGISTER_PTR_TO_VM as a preparation for passing the encrypted VM pointer to BuiltinFunctions directly.

codecov-commenter commented 11 months ago

Codecov Report

Merging #534 (e45b16f) into main (31c8b6f) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
- Coverage   89.72%   89.70%   -0.02%     
==========================================
  Files          24       24              
  Lines       10215    10213       -2     
==========================================
- Hits         9165     9162       -3     
- Misses       1050     1051       +1     
Files Coverage Δ
src/jit.rs 91.98% <100.00%> (-0.10%) :arrow_down: