Skip to content
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
1 change: 0 additions & 1 deletion src/llvm/abi.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Based on https://github.com/rust-lang/rust/blob/master/src/librustc_trans/trans/cabi.rs
abstract class LLVM::ABI
getter target_data : TargetData
getter? osx : Bool
Expand Down
1 change: 0 additions & 1 deletion src/llvm/abi/x86.cr
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require "../abi"

# Based on https://github.com/rust-lang/rust/blob/master/src/librustc_trans/trans/cabi_x86.rs
class LLVM::ABI::X86 < LLVM::ABI
def abi_info(atys : Array(Type), rty : Type, ret_def : Bool, context : Context)
ret_ty = compute_return_type(rty, ret_def, context)
Expand Down
1 change: 0 additions & 1 deletion src/llvm/abi/x86_64.cr
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require "../abi"

# Based on https://github.com/rust-lang/rust/blob/master/src/librustc_trans/trans/cabi_x86_64.rs
class LLVM::ABI::X86_64 < LLVM::ABI
def abi_info(atys : Array(Type), rty : Type, ret_def : Bool, context : Context)
arg_tys = Array(LLVM::Type).new(atys.size)
Expand Down