Skip to content

Commit

Permalink
Merge pull request #1068 from hash-org/fix-llvm-ty-mismatch
Browse files Browse the repository at this point in the history
fix #1066
  • Loading branch information
feds01 authored May 30, 2024
2 parents 23a7634 + f5bf6d1 commit a05ce41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/hash-codegen-llvm/src/translation/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ impl<'a, 'b, 'm> BlockBuilderMethods<'a, 'b> for LLVMBuilder<'a, 'b, 'm> {
let fn_ty = self.type_function(&[src_ty], dest_ty);
let func = self.declare_c_fn(&name, UnnamedAddress::None, fn_ty).as_any_value_enum();

self.call(func.get_type(), func, &[value], None)
self.call(fn_ty, func, &[value], None)
}

fn fp_to_ui(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value {
Expand Down
2 changes: 1 addition & 1 deletion compiler/hash/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
log::set_logger(&COMPILER_LOGGER).unwrap_or_else(|_| panic!("couldn't initiate logger"));

// Starting the Tracy client is necessary before any invoking any of its APIs
#[cfg(feature = "profile-with-tracy")]
#[cfg(feature = "tracy")]
tracy_client::Client::start();

// Register main thread with the profiler
Expand Down

0 comments on commit a05ce41

Please sign in to comment.