diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-18 17:22:58 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-18 17:22:58 +0000 |
| commit | 82d957593eaff75192552bfaa1b7a9335c7fc22f (patch) | |
| tree | 71dd26333173863730ca253725d1eeb37917a75d /clang/bindings/python | |
| parent | c616e95162d8048859cb9810c793cbd3d0fa9d42 (diff) | |
| download | bcm5719-llvm-82d957593eaff75192552bfaa1b7a9335c7fc22f.tar.gz bcm5719-llvm-82d957593eaff75192552bfaa1b7a9335c7fc22f.zip | |
Don't skip debug instructions when looking for the insertion point of
the cast. If we do, we can end up with
inst1
--------------- < Insertion point
dbg inst
new inst
instead of the desired
inst1
new inst
--------------- < Insertion point
dbg inst
Another option would be for InsertNoopCastOfTo (or its callers) to move the
insertion point and we would end up with
inst1
dbg inst
new inst
--------------- < Insertion point
but that complicates the callers. This fixes PR12018 (and firefox's build).
llvm-svn: 150884
Diffstat (limited to 'clang/bindings/python')
0 files changed, 0 insertions, 0 deletions

