Bump rbpf to v0.2.19 (#21880) (#21891)

* Bump rbpf to v0.2.19

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
(cherry picked from commit 509bcd2e74)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2021-12-14 20:30:31 +00:00
committed by GitHub
parent 135dfdbf1e
commit 2cd2f3ba7b
11 changed files with 25 additions and 16 deletions

View File

@ -17,5 +17,5 @@ solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.9.1
solana-logger = { path = "../logger", version = "=1.9.1" }
solana-program-runtime = { path = "../program-runtime", version = "=1.9.1" }
solana-sdk = { path = "../sdk", version = "=1.9.1" }
solana_rbpf = "=0.2.18"
solana_rbpf = "=0.2.19"
time = "0.3.5"

View File

@ -257,7 +257,7 @@ native machine code before execting it in the virtual machine.",
let text_bytes = executable.get_text_bytes().1;
check(text_bytes, &config).unwrap();
}
executable.jit_compile().unwrap();
Executable::<BpfError, ThisInstructionMeter>::jit_compile(&mut executable).unwrap();
let analysis = Analysis::from_executable(&executable);
match matches.value_of("use") {