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

@ -241,6 +241,7 @@ pub trait Executor: Debug + Send + Sync {
keyed_accounts: &[KeyedAccount],
instruction_data: &[u8],
invoke_context: &mut dyn InvokeContext,
use_jit: bool,
) -> Result<(), InstructionError>;
}