chore(execution-engine): rename air folder to instructions (#417)

This commit is contained in:
Mike Voronov 2022-12-27 18:40:10 +03:00 committed by GitHub
parent 23b3cd6e8a
commit 1fc132d0d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 8 additions and 8 deletions

View File

@ -20,8 +20,8 @@ mod utils;
use super::ExecutionCtx;
use super::ExecutionResult;
use super::TraceHandler;
use crate::execution_step::air::ValueAggregate;
use crate::execution_step::boxed_value::Variable;
use crate::execution_step::instructions::ValueAggregate;
use crate::execution_step::resolver::apply_lambda;
use crate::log_instruction;
use crate::trace_to_exec_err;

View File

@ -15,7 +15,7 @@
*/
use super::*;
use crate::execution_step::air::call::call_result_setter::populate_context_from_data;
use crate::execution_step::instructions::call::call_result_setter::populate_context_from_data;
use crate::execution_step::CatchableError;
use crate::execution_step::RcSecurityTetraplet;

View File

@ -71,7 +71,7 @@ fn handle_unseen_canon(
exec_ctx: &mut ExecutionCtx<'_>,
trace_ctx: &mut TraceHandler,
) -> ExecutionResult<()> {
let peer_id = crate::execution_step::air::resolve_peer_id_to_string(&ast_canon.peer_id, exec_ctx)?;
let peer_id = crate::execution_step::instructions::resolve_peer_id_to_string(&ast_canon.peer_id, exec_ctx)?;
if exec_ctx.run_parameters.current_peer_id.as_str() != peer_id {
exec_ctx.subgraph_complete = false;

View File

@ -14,8 +14,8 @@
* limitations under the License.
*/
use crate::execution_step::air::ExecutionResult;
use crate::execution_step::execution_context::ExecutionCtx;
use crate::execution_step::instructions::ExecutionResult;
use crate::execution_step::resolver::prepare_last_error;
use crate::execution_step::resolver::resolve_ast_variable;
use crate::execution_step::resolver::resolve_ast_variable_wl;

View File

@ -15,9 +15,9 @@
*/
use super::construct_stream_iterable_values;
use crate::execution_step::air::fold::IterableValue;
use crate::execution_step::boxed_value::Generation;
use crate::execution_step::boxed_value::Stream;
use crate::execution_step::instructions::fold::IterableValue;
pub(super) struct StreamCursor {
last_seen_generation: u32,

View File

@ -14,10 +14,10 @@
* limitations under the License.
*/
mod air;
mod boxed_value;
mod errors;
pub(crate) mod execution_context;
mod instructions;
mod lambda_applier;
mod resolver;
@ -38,8 +38,8 @@ pub mod errors_prelude {
pub use super::UncatchableError;
}
pub(super) use self::air::ExecutableInstruction;
pub(super) use self::air::FoldState;
pub(super) use self::instructions::ExecutableInstruction;
pub(super) use self::instructions::FoldState;
pub(super) use boxed_value::Generation;
pub(super) use boxed_value::ScalarRef;
pub(super) use boxed_value::Stream;