diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2016-12-21 21:42:10 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2016-12-21 21:44:40 +0300 |
| commit | c461cdfdf686caec2b93fe9e41efaa79b7a5c292 (patch) | |
| tree | fe11548bfadb41480ec69130bdd86393e515905a /src/rustllvm/RustWrapper.cpp | |
| parent | 1b38776c1f68c6fd47c1b2f7b7974efc7dd64901 (diff) | |
| download | rust-c461cdfdf686caec2b93fe9e41efaa79b7a5c292.tar.gz rust-c461cdfdf686caec2b93fe9e41efaa79b7a5c292.zip | |
Fixed fastcall not applying inreg attributes to arguments like the C/C++ fastcall.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index f5fa66f1b0e..5d5845213e2 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -150,6 +150,8 @@ from_rust(LLVMRustAttribute kind) { return Attribute::UWTable; case ZExt: return Attribute::ZExt; + case InReg: + return Attribute::InReg; default: llvm_unreachable("bad AttributeKind"); } |
