about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2016-05-27 19:34:20 -0700
committerJamey Sharp <jamey@minilop.net>2016-05-27 19:34:20 -0700
commit80d733385aa2ff150a5d6f83ecfe55afc7e19e68 (patch)
treef70d7f9165ec4ab083c6335dab56bb62abd23f48 /src/rustllvm/RustWrapper.cpp
parent7bddce693cec4ae4eb6970ed91289815b316cff3 (diff)
downloadrust-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