Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1066 #1068

Merged
merged 2 commits into from
May 30, 2024
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
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
Loading