Skip to content

Commit

Permalink
Merge pull request #264 from 0xPolygonMiden/release-plz-2024-Jul-30
Browse files Browse the repository at this point in the history
Release v0.0.1 (take 3): Initial release of the compiler and SDK crates
  • Loading branch information
bitwalker authored Aug 1, 2024
2 parents 4a7b0d2 + 073a3fe commit f54a2a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend-wasm/src/module/module_translation_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{
error::WasmResult,
intrinsics::is_miden_intrinsics_module,
miden_abi::{is_miden_abi_module, miden_abi_function_type, parse_import_function_digest},
translation_utils::sig_from_funct_type,
translation_utils::sig_from_func_type,
WasmError,
};

Expand Down Expand Up @@ -52,7 +52,7 @@ impl ModuleTranslationState {
for (index, func_type) in &module.functions {
let wasm_func_type = mod_types[func_type.signature].clone();
let ir_func_type = ir_func_type(&wasm_func_type).unwrap();
let sig = sig_from_funct_type(&ir_func_type, CallConv::SystemV, Linkage::External);
let sig = sig_from_func_type(&ir_func_type, CallConv::SystemV, Linkage::External);
if let Some(subst) = function_import_subst.get(&index) {
functions.insert(index, (*subst, sig));
} else if module.is_imported_function(index) {
Expand Down
2 changes: 1 addition & 1 deletion frontend-wasm/src/translation_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub fn emit_zero(ty: &Type, builder: &mut FunctionBuilderExt) -> WasmResult<Valu
})
}

pub fn sig_from_funct_type(
pub fn sig_from_func_type(
func_type: &FunctionType,
call_conv: CallConv,
linkage: Linkage,
Expand Down

0 comments on commit f54a2a5

Please sign in to comment.