about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-11-18 05:38:50 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-11-18 19:23:29 -0500
commit06f2d9da87ae4c5112cfa1540ae7ea15b76d3e5b (patch)
tree00e280dad1744816585092ed3836533a3bf33c21 /src/rustllvm/RustWrapper.cpp
parent0bc61402a92670e8c170fec1e35f5c5a19378221 (diff)
downloadrust-06f2d9da87ae4c5112cfa1540ae7ea15b76d3e5b.tar.gz
rust-06f2d9da87ae4c5112cfa1540ae7ea15b76d3e5b.zip
Modify trans to use an outer walk and ensure that we rotate as we
encounter each module. This is somewhat different than how it used to
work; it should ensure a more equitable distribution of work than
before. The reason is that, before, when we rotated, we would rotate
before we had seen the full contents of the current module. So e.g.  if
we have `mod a { mod b { .. } .. }`, then we rotate when we encounter
`b`, but we haven't processed the remainder of `a` yet. Unclear if this
makes any difference in practice, but it seemed suboptimal. Also, this
structure (with an outer walk over modules) is closer to what we will
want for an incremental setting.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions