Skip to content

Commit d14fa37

Browse files
committed
hint.rs should not be in /operand
1 parent 12e430a commit d14fa37

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

crates/lean_vm/src/execution/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! VM execution runner
22
3+
use crate::HintExecutionContext;
34
use crate::core::{
45
DIMENSION, F, MAX_RUNNER_MEMORY_SIZE, ONE_VEC_PTR, POSEIDON_16_NULL_HASH_PTR,
56
POSEIDON_24_NULL_HASH_PTR, PUBLIC_INPUT_START, VECTOR_LEN, ZERO_VEC_PTR,
@@ -8,7 +9,6 @@ use crate::diagnostics::{ExecutionResult, RunnerError};
89
use crate::execution::{ExecutionHistory, Memory};
910
use crate::isa::Bytecode;
1011
use crate::isa::instruction::InstructionContext;
11-
use crate::isa::operands::hint::HintExecutionContext;
1212
use crate::witness::{
1313
WitnessDotProduct, WitnessMultilinearEval, WitnessPoseidon16, WitnessPoseidon24,
1414
};

crates/lean_vm/src/isa/bytecode.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! Bytecode representation and management
22
3+
use crate::Hint;
4+
35
use super::Instruction;
4-
use super::operands::Hint;
56
use std::collections::BTreeMap;
67
use std::fmt::{Display, Formatter};
78

crates/lean_vm/src/isa/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
//! Instruction Set Architecture (ISA) definitions
22
33
pub mod bytecode;
4+
pub mod hint;
45
pub mod instruction;
56
pub mod operands;
67
pub mod operation;
78

89
pub use bytecode::*;
10+
pub use hint::*;
911
pub use instruction::*;
1012
pub use operands::*;
1113
pub use operation::*;
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
//! VM operand types and addressing modes
22
3-
pub mod hint;
43
pub mod mem_or_constant;
54
pub mod mem_or_fp;
65
pub mod mem_or_fp_or_constant;
76

8-
pub use hint::*;
97
pub use mem_or_constant::*;
108
pub use mem_or_fp::*;
119
pub use mem_or_fp_or_constant::*;

0 commit comments

Comments
 (0)