summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-29 23:10:39 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-29 23:10:39 -0800
commitc77f1d47f8e2bf2d6ef671da2f9d31a62e4db201 (patch)
tree50243422efebe8c6dfa04a6d78af18efe8ca82eb /src/comp/lib
parentfa13fd9d64c3ed60a65e5897467b2d3742aa933f (diff)
downloadrust-c77f1d47f8e2bf2d6ef671da2f9d31a62e4db201.tar.gz
rust-c77f1d47f8e2bf2d6ef671da2f9d31a62e4db201.zip
rustc: Add some missing llvm defs. Fix comments
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 1ef6ccca41b..8238ffd279f 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -60,17 +60,19 @@ const LLVMAlwaysInlineAttribute: uint = 4096u;
 const LLVMOptimizeForSizeAttribute: uint = 8192u;
 const LLVMStackProtectAttribute: uint = 16384u;
 const LLVMStackProtectReqAttribute: uint = 32768u;
-const LLVMAlignmentAttribute: uint = 2031616u;
 // 31 << 16
+const LLVMAlignmentAttribute: uint = 2031616u;
 const LLVMNoCaptureAttribute: uint = 2097152u;
 const LLVMNoRedZoneAttribute: uint = 4194304u;
 const LLVMNoImplicitFloatAttribute: uint = 8388608u;
 const LLVMNakedAttribute: uint = 16777216u;
 const LLVMInlineHintAttribute: uint = 33554432u;
-const LLVMStackAttribute: uint = 469762048u;
 // 7 << 26
-const LLVMUWTableAttribute: uint = 1073741824u;
+const LLVMStackAttribute: uint = 469762048u;
+const LLVMReturnsTwiceAttribute: uint = 536870912u;
 // 1 << 30
+const LLVMUWTableAttribute: uint = 1073741824u;
+const LLVMNonLazyBindAttribute: uint = 2147483648u;
 
 
 // Consts for the LLVM IntPredicate type, pre-cast to uint.