Skip to content

Commit c77f1d4

Browse files
committed
rustc: Add some missing llvm defs. Fix comments
1 parent fa13fd9 commit c77f1d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/comp/lib/llvm.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,19 @@ const LLVMAlwaysInlineAttribute: uint = 4096u;
6060
const LLVMOptimizeForSizeAttribute: uint = 8192u;
6161
const LLVMStackProtectAttribute: uint = 16384u;
6262
const LLVMStackProtectReqAttribute: uint = 32768u;
63-
const LLVMAlignmentAttribute: uint = 2031616u;
6463
// 31 << 16
64+
const LLVMAlignmentAttribute: uint = 2031616u;
6565
const LLVMNoCaptureAttribute: uint = 2097152u;
6666
const LLVMNoRedZoneAttribute: uint = 4194304u;
6767
const LLVMNoImplicitFloatAttribute: uint = 8388608u;
6868
const LLVMNakedAttribute: uint = 16777216u;
6969
const LLVMInlineHintAttribute: uint = 33554432u;
70-
const LLVMStackAttribute: uint = 469762048u;
7170
// 7 << 26
72-
const LLVMUWTableAttribute: uint = 1073741824u;
71+
const LLVMStackAttribute: uint = 469762048u;
72+
const LLVMReturnsTwiceAttribute: uint = 536870912u;
7373
// 1 << 30
74+
const LLVMUWTableAttribute: uint = 1073741824u;
75+
const LLVMNonLazyBindAttribute: uint = 2147483648u;
7476

7577

7678
// Consts for the LLVM IntPredicate type, pre-cast to uint.

0 commit comments

Comments
 (0)