Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Apr 15, 2024
1 parent 848b8c1 commit b7a7a9f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 49 deletions.
101 changes: 54 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions takolib/src/codegen/backend/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl<'ctx> BackendStateTrait for LlvmState<'ctx> {

fn array_of_strings_type(&mut self) -> Self::PointerType {
let char_star_type = self.char_ptr_type();
char_star_type.ptr_type(AddressSpace::default())
Context::ptr_type
}
fn const_int<T: Into<u64>>(&mut self, ty: Self::IntType, value: T) -> Self::Value {
// TODO: Check bounds.
Expand Down Expand Up @@ -200,7 +200,7 @@ impl<'ctx> BackendStateTrait for LlvmState<'ctx> {
}

fn char_ptr_type(&mut self) -> Self::PointerType {
self.context.i8_type().ptr_type(AddressSpace::default())
Context::ptr_type
}

fn global_string(&mut self, value: &str) -> Self::PointerValue {
Expand Down

0 comments on commit b7a7a9f

Please sign in to comment.