Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed committed Dec 4, 2023
1 parent 1de36bd commit 320a339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion utils/wasm-gen/src/generator/syscalls/invocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,9 @@ impl<'a, 'b> SyscallsInvocator<'a, 'b> {
// Alloc syscall: returns u32::MAX (= -1i32) in case of error.
-1
}
ParamType::Regular(RegularParamType::Free | RegularParamType::FreeUpperBound) => {
ParamType::Regular(
RegularParamType::Free | RegularParamType::FreeUpperBound,
) => {
// Free/FreeRange syscall: returns 1 in case of error.
1
}
Expand Down
2 changes: 1 addition & 1 deletion utils/wasm-instrument/src/syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ pub enum RegularParamType {
Handler, // i32 handler number
Alloc, // i32 pages to alloc
Free, // i32 page number to free
FreeUpperBound, // i32 free upper bound for use with free_range. Should be placed after Free in fn signature
FreeUpperBound, // i32 free upper bound for use with free_range
Version, // i32 version number of exec settings
}

Expand Down

0 comments on commit 320a339

Please sign in to comment.