Skip to content

Commit

Permalink
Add alignment memory type
Browse files Browse the repository at this point in the history
  • Loading branch information
1whatleytay committed Nov 12, 2024
1 parent fe47360 commit 8dccceb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src-backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-backend/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn format_error<Mem: Memory>(error: titan::cpu::error::Error, state: &State<Mem>
};

match error {
MemoryAlign(_) => memory(MemoryErrorReason::Alignment),
MemoryAlign(_, _) => memory(MemoryErrorReason::Alignment),
MemoryUnmapped(_) => memory(MemoryErrorReason::Unmapped),
CpuTrap => {
let pc = state.registers.pc.wrapping_sub(4);
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8dccceb

Please sign in to comment.