diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-07-11 19:31:38 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-07-17 17:18:29 +0200 |
| commit | 3e572511af26f5b469cbfded83069ca215c74740 (patch) | |
| tree | e4554e478460c89582fde5586c9db27c06d8e3c8 /src/rt/rust_kernel.cpp | |
| parent | 93c270c63d158805a068b8e7ced660df1051c3ca (diff) | |
| download | rust-3e572511af26f5b469cbfded83069ca215c74740.tar.gz rust-3e572511af26f5b469cbfded83069ca215c74740.zip | |
Remove duplicated code from trans_intrinsics
Most arms of the huge match contain the same code, differing only in small details like the name of the llvm intrinsic that is to be called. Thus the duplicated code can be factored out into a few functions that take some parameters to handle the differences.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
