diff options
| author | Jamey Sharp <jamey@minilop.net> | 2016-05-27 19:34:20 -0700 |
|---|---|---|
| committer | Jamey Sharp <jamey@minilop.net> | 2016-05-27 19:34:20 -0700 |
| commit | 80d733385aa2ff150a5d6f83ecfe55afc7e19e68 (patch) | |
| tree | f70d7f9165ec4ab083c6335dab56bb62abd23f48 /src/rustllvm/RustWrapper.cpp | |
| parent | 7bddce693cec4ae4eb6970ed91289815b316cff3 (diff) | |
| download | rust-80d733385aa2ff150a5d6f83ecfe55afc7e19e68.tar.gz rust-80d733385aa2ff150a5d6f83ecfe55afc7e19e68.zip | |
Inline simple Cursor write calls
Implementing the Write trait for Cursors over slices is so light-weight that under some circumstances multiple writes can be fused into a single instruction. In general I think inlining these functions is a good idea because most of the code can be constant-folded and copy-propagated away. Closes issue #33916.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
