Skip to content

Commit

Permalink
Remove use of 'Fast' calling convention
Browse files Browse the repository at this point in the history
This is part of debugging #101.
  • Loading branch information
ezrosent committed Jun 28, 2023
1 parent b356074 commit 3017ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/clif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ impl Generator {
/// their bodies.
fn declare_local_funcs(&mut self, typer: &mut Typer) -> Result<()> {
let globals = typer.get_global_refs();
let cc = isa::CallConv::Fast;
let cc = self.cctx.func.signature.call_conv;
let ptr_ty = self.shared.module.target_config().pointer_type();
for (i, (info, refs)) in typer.func_info.iter().zip(globals.iter()).enumerate() {
if !typer.frames[i].is_called {
Expand Down

0 comments on commit 3017ce1

Please sign in to comment.