Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ir_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ ir_cli sol2tensor $input_dir_absolute_path
| ├- file2.json
| └- ...
└- output
├- source_info -- infomation about contract
├- source_info -- information about contract
├- standard_input -- solc compiler standard input json
├- standard_output -- solc compiler standard output json
├- yul -- yul src code
├- sir -- Smart IR
└- tensor -- tensor data

```
```
2 changes: 1 addition & 1 deletion smart_ir/src/ir/pass_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl<IRUnit: 'static> AnalysisManager<IRUnit> {
.downcast_rc::<AnalysisImpl::AnalysisResult>()
.unwrap_or_else(|_| {
panic!(
"cast analysis resulst to {} failed",
"cast analysis results to {} failed",
std::any::type_name::<AnalysisImpl::AnalysisResult>()
)
})
Expand Down
2 changes: 1 addition & 1 deletion smart_ir/src/linker/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub fn link(
// remove empty initializers
if let Some(data_section) = module.data_section_mut() {
let _entries = data_section.entries_mut();
// TODO: can't rm the entries directly when mulitple modules
// TODO: can't rm the entries directly when multiple modules
// let mut index = 0;
// while index < entries.len() {
// if entries[index].value().iter().all(|b| *b == 0) {
Expand Down
2 changes: 1 addition & 1 deletion smart_ir/src/runtime/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl VirtualMachine {
},
code,
addr,
op_addr: Address::from("opration address"),
op_addr: Address::from("operation address"),
}
}
}
Expand Down