diff options
| author | Stuart Pernsteiner <spernsteiner@mozilla.com> | 2014-07-31 16:45:29 -0700 |
|---|---|---|
| committer | Stuart Pernsteiner <spernsteiner@mozilla.com> | 2014-09-05 09:18:57 -0700 |
| commit | e09bef810a95c82fa5de08872fccffdd5e0fe1e7 (patch) | |
| tree | d5ef7a6a59de6b99c1588b340fad5c3921e0efbb /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | da9606247d5ddd0edebafaffd0367c541fbaee7e (diff) | |
| download | rust-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
