about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-06-01 12:57:42 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-06-01 12:57:42 +0530
commit0e65b75b3922e9b700ebaec055418086c07ef8a3 (patch)
tree3a218cbdff92867c35a76796fd937a448b06da19 /src/rustllvm/RustWrapper.cpp
parentd9cd460f6c90f821bf9b6e6a824a496660ce7281 (diff)
parent80d733385aa2ff150a5d6f83ecfe55afc7e19e68 (diff)
downloadrust-0e65b75b3922e9b700ebaec055418086c07ef8a3.tar.gz
rust-0e65b75b3922e9b700ebaec055418086c07ef8a3.zip
Rollup merge of #33921 - jameysharp:patch-1, r=alexcrichton
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.

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions