Validator CLI option to enable just-in-time compilation of BPF (#13789)

* Adds a CLI option to the validator to enable just-in-time compilation of BPF.

* Refactoring to use bpf_loader_program instead of feature_set to pass JIT flag from the validator CLI to the executor.
This commit is contained in:
Alexander Meißner
2020-12-07 09:49:55 +01:00
committed by GitHub
parent 3425e98a6b
commit a706706572
9 changed files with 93 additions and 31 deletions

View File

@@ -0,0 +1,5 @@
solana_sdk::declare_builtin!(
solana_sdk::bpf_loader::ID,
solana_bpf_loader_program_with_jit,
solana_bpf_loader_program::process_instruction_jit
);