about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-04-06 20:35:11 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-04-08 16:19:12 -0400
commit68d17bca4b12f514331322f938b56331f987ad68 (patch)
tree2524ae351853fc3e081c2031c86d6e0d4622b6c9 /src/rustllvm/RustWrapper.cpp
parent44d4d6de762f3f9aae1fedcf454c66b79b3ad58d (diff)
downloadrust-68d17bca4b12f514331322f938b56331f987ad68.tar.gz
rust-68d17bca4b12f514331322f938b56331f987ad68.zip
clone: managed boxes need to clone by shallow copy
Performing a deep copy isn't ever desired for a persistent data
structure, and it requires a more complex implementation to do
correctly. A deep copy needs to check for cycles to avoid an infinite
loop.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions