about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorStuart Pernsteiner <spernsteiner@mozilla.com>2014-07-16 11:27:57 -0700
committerStuart Pernsteiner <spernsteiner@mozilla.com>2014-09-05 09:18:55 -0700
commit0ab27b1d5b68d3bc3c727895e5219ce254c685ad (patch)
treeb10a7dbb6388cc4ed09513de861f2e7534700ce0 /src/rustllvm/ExecutionEngineWrapper.cpp
parentcf35cb365a4efee53f6372095aaff4798544bf94 (diff)
downloadrust-0ab27b1d5b68d3bc3c727895e5219ce254c685ad.tar.gz
rust-0ab27b1d5b68d3bc3c727895e5219ce254c685ad.zip
split CrateContext into shared and local pieces
Break up `CrateContext` into `SharedCrateContext` and `LocalCrateContext`.  The
local piece corresponds to a single compilation unit, and contains all
LLVM-related components.  (LLVM data structures are tied to a specific
`LLVMContext`, and we will need separate `LLVMContext`s to safely run
multithreaded optimization.)  The shared piece contains data structures that
need to be shared across all compilation units, such as the `ty::ctxt` and some
tables related to crate metadata.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions