Skip to content

Commit a823300

Browse files
committed
---
yaml --- r: 15661 b: refs/heads/try c: 3c16693 h: refs/heads/master i: 15659: 18c779b v: v3
1 parent eb46962 commit a823300

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 597d9b4dd00704bee4ec816fe663cb1b193e1812
5+
refs/heads/try: 3c166937608789d3a1ad3d89a8577b9a178c9595
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/lib/llvm.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,16 @@ native mod llvm {
766766
fn LLVMAddTargetData(TD: TargetDataRef, PM: PassManagerRef);
767767
/** Returns the size of a type. FIXME: rv is actually a C_Ulonglong! */
768768
fn LLVMStoreSizeOfType(TD: TargetDataRef, Ty: TypeRef) -> c_uint;
769-
/** Returns the alignment of a type. */
769+
/** Returns the preferred alignment of a type. */
770770
fn LLVMPreferredAlignmentOfType(TD: TargetDataRef,
771771
Ty: TypeRef) -> c_uint;
772+
/** Returns the minimum alignment of a type. */
773+
fn LLVMABIAlignmentOfType(TD: TargetDataRef,
774+
Ty: TypeRef) -> c_uint;
775+
/** Returns the minimum alignment of a type when part of a call frame. */
776+
fn LLVMCallFrameAlignmentOfType(TD: TargetDataRef,
777+
Ty: TypeRef) -> c_uint;
778+
772779
/** Disposes target data. */
773780
fn LLVMDisposeTargetData(TD: TargetDataRef);
774781

0 commit comments

Comments
 (0)