about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorC Jones <code@calebjones.net>2018-04-30 17:34:14 -0400
committerC Jones <code@calebjones.net>2018-05-07 22:14:20 -0400
commitef6060c863c86e1422baa2cc85ae75af22feaf51 (patch)
tree4244bc3dd335bd172b97b11fe4e8c70eb238db78 /src/rustllvm/RustWrapper.cpp
parent669bd8223bf159d757d0c552a4c413a137bc6b10 (diff)
downloadrust-ef6060c863c86e1422baa2cc85ae75af22feaf51.tar.gz
rust-ef6060c863c86e1422baa2cc85ae75af22feaf51.zip
Add a statically allocated empty node for empty maps
This gives a pointer to that static empty node instead of allocating
a new node, and then whenever inserting makes sure that the root
isn't that empty node.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions