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-31 16:45:29 -0700
committerStuart Pernsteiner <spernsteiner@mozilla.com>2014-09-05 09:18:57 -0700
commite09bef810a95c82fa5de08872fccffdd5e0fe1e7 (patch)
treed5ef7a6a59de6b99c1588b340fad5c3921e0efbb /src/rustllvm/ExecutionEngineWrapper.cpp
parentda9606247d5ddd0edebafaffd0367c541fbaee7e (diff)
downloadrust-e09bef810a95c82fa5de08872fccffdd5e0fe1e7.tar.gz
rust-e09bef810a95c82fa5de08872fccffdd5e0fe1e7.zip
avoid duplicate translation of monomorphizations, drop glue, and visit glue
Use a shared lookup table of previously-translated monomorphizations/glue
functions to avoid translating those functions in every compilation unit where
they're used.  Instead, the function will be translated in whichever
compilation unit uses it first, and the remaining compilation units will link
against that original definition.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions