diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2014-02-28 12:53:36 +1300 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-27 21:04:05 -0800 |
| commit | a8d57a26dfe1c8e44e9af1923c900f147d13889b (patch) | |
| tree | 6b251a76724c67aa0f3b7770f2138bea34bdf033 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 53a3f281158bf584361ad63400ba0b4a88472b23 (diff) | |
| download | rust-a8d57a26dfe1c8e44e9af1923c900f147d13889b.tar.gz rust-a8d57a26dfe1c8e44e9af1923c900f147d13889b.zip | |
Fix bytepos_to_file_charpos.
Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
