mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 23:20:18 +00:00
chore(execution-engine): rename air folder to instructions (#417)
This commit is contained in:
parent
23b3cd6e8a
commit
1fc132d0d0
@ -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;
|
@ -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;
|
||||
|
@ -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;
|
@ -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;
|
@ -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,
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user