about summary refs log tree commit diff
path: root/src/rustllvm/rustllvm.h
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2016-12-21 21:42:10 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2016-12-21 21:44:40 +0300
commitc461cdfdf686caec2b93fe9e41efaa79b7a5c292 (patch)
treefe11548bfadb41480ec69130bdd86393e515905a /src/rustllvm/rustllvm.h
parent1b38776c1f68c6fd47c1b2f7b7974efc7dd64901 (diff)
downloadrust-c461cdfdf686caec2b93fe9e41efaa79b7a5c292.tar.gz
rust-c461cdfdf686caec2b93fe9e41efaa79b7a5c292.zip
Fixed fastcall not applying inreg attributes to arguments like the C/C++ fastcall.
Diffstat (limited to 'src/rustllvm/rustllvm.h')
-rw-r--r--src/rustllvm/rustllvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustllvm/rustllvm.h b/src/rustllvm/rustllvm.h
index b8c4076f4ce..8f7e0e3d918 100644
--- a/src/rustllvm/rustllvm.h
+++ b/src/rustllvm/rustllvm.h
@@ -98,6 +98,7 @@ enum LLVMRustAttribute {
     StructRet       = 16,
     UWTable         = 17,
     ZExt            = 18,
+    InReg           = 19,
 };
 
 typedef struct OpaqueRustString *RustStringRef;