Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2747775
[ci] add qemu-system-arm in docker image
sekineh Aug 29, 2018
502023a
[ci] thumbv7m-none-eabi: build lm3s6965evb and runon QEMU
sekineh Sep 2, 2018
719a592
[ci] thumbv7m-none-eabi: add more variable.
sekineh Sep 3, 2018
a04754f
[ci] run-make/thumb-none-qemu: uses cortex-m-rt crate.
sekineh Sep 30, 2018
fdf4d6e
[ci] run-make/thumb-none-qemu: add thumbv6m-none-qemu
sekineh Sep 30, 2018
8b097c4
Don't try to promote already promoted out temporaries
oli-obk Oct 4, 2018
7d3d835
replace escape-rust-expr test with dont-show-const-contents
Munksgaard Oct 4, 2018
f97e094
Add compile flags to playground-empty test
Munksgaard Oct 4, 2018
46ccce0
Remove duplicate test line
Munksgaard Oct 5, 2018
5f8dc0d
Fix unneeded-trait-implementations-title test
Munksgaard Oct 5, 2018
a9a26de
Fix redirect.rs test
Munksgaard Oct 5, 2018
28596ad
Fix empty-section.rs test
Munksgaard Oct 5, 2018
e961d39
Add line numbers option to rustdoc
GuillaumeGomez Oct 8, 2018
5b0f486
[ci] run-make/thumb-none-qemu: transfer logic to script.sh
sekineh Oct 10, 2018
a4faa5e
[ci] run-make/thumb-none-qemu: transfer logic to script.sh (2)
sekineh Oct 10, 2018
e8bc04e
Use XPATH notation to match against flattened nodes
Munksgaard Oct 10, 2018
9dbe902
Fix issue-46767 test
Munksgaard Oct 10, 2018
df79da9
Fix typo in deprecated_impls
Munksgaard Oct 10, 2018
a9217e3
Fix typo in issue-13698.rs
Munksgaard Oct 10, 2018
8d2b2ee
[ci] run-make/thumb-none-qemu: add example crate.
sekineh Oct 16, 2018
f40fd4b
[ci] run both debug and release
sekineh Oct 16, 2018
3064e0a
[ci] fix tidy warning.
sekineh Oct 16, 2018
06d0a71
[ci] clean up potentially harmful envs
sekineh Oct 16, 2018
7cac7b6
[ci] run-make/thumb-none-qemu: use GNU LD.
sekineh Oct 17, 2018
35bbcf1
[ci] fix tidy warning.
sekineh Oct 18, 2018
9f0a352
Turn ICE for dangling pointers into error
oli-obk Oct 22, 2018
0ba1262
Reproduce the underlying issue
oli-obk Oct 22, 2018
80a6b73
Unimplement ExactSizeIterator
sinkuu Oct 22, 2018
b5336c0
Add a cheap mode for `compute_missing_ctors`.
nnethercote Oct 17, 2018
4f2624c
Fix Rustdoc ICE when checking blanket impls
Aaron1011 Oct 22, 2018
2d960a5
Update dangling-alloc-id-ice-2.rs
oli-obk Oct 23, 2018
8544db0
Add macro call span when lacking any other span in diagnostic
estebank Oct 23, 2018
ad144ac
Modify invalid macro in expression context diagnostic
estebank Oct 23, 2018
8227a93
Point at macro definition when no rules expect token
estebank Oct 24, 2018
1ab45ec
Point to macro def span instead of whole body
estebank Oct 24, 2018
c2463af
Typo
oli-obk Oct 24, 2018
569228a
Fix link to macros chapter
steveklabnik Oct 24, 2018
f8818cb
Fix incorrect semicolon suggestion
estebank Oct 24, 2018
bbc3cd4
rustbuild: fix remap-debuginfo when building a release
Keruspe Oct 25, 2018
ee26e8e
Update RELEASES.md
frewsxcv Oct 25, 2018
f7629ef
Explain a comment in more detail
oli-obk Oct 25, 2018
4dc0287
Explain why we can encounter a `Goto` terminator that we want to promote
oli-obk Oct 25, 2018
f4fe9b0
Clarify exclusion comment further
oli-obk Oct 25, 2018
2cfd790
List allowed tokens after macro fragments
estebank Oct 24, 2018
ee7f4a2
Grammar nit
oli-obk Oct 25, 2018
fd77500
Clear up nonpromotable const fn call qualification
oli-obk Oct 25, 2018
38d9277
Shrink `Statement`.
nnethercote Oct 25, 2018
5f7c8e1
Rollup merge of #53996 - sekineh:thumb-run, r=japaric
kennytm Oct 26, 2018
1960de0
Rollup merge of #54816 - oli-obk:double_promotion, r=alexreg
kennytm Oct 26, 2018
ae9f012
Rollup merge of #54824 - Munksgaard:fix-49713, r=QuietMisdreavus
kennytm Oct 26, 2018
9e6165c
Rollup merge of #54921 - GuillaumeGomez:line-numbers, r=QuietMisdreavus
kennytm Oct 26, 2018
386f6c3
Rollup merge of #55167 - nnethercote:is_missing_ctors_empty, r=varkor
kennytm Oct 26, 2018
3d436d4
Rollup merge of #55258 - Aaron1011:fix/rustdoc-blanket, r=GuillaumeGomez
kennytm Oct 26, 2018
2a7fff1
Rollup merge of #55262 - oli-obk:dangling_alloc_id_ice, r=RalfJung
kennytm Oct 26, 2018
b95d4d2
Rollup merge of #55271 - sinkuu:traversal_iter, r=matthewjasper
kennytm Oct 26, 2018
02dd239
Rollup merge of #55292 - estebank:macro-eof, r=pnkfelix
kennytm Oct 26, 2018
dadf5a5
Rollup merge of #55298 - estebank:macro-def, r=pnkfelix
kennytm Oct 26, 2018
5b2512f
Rollup merge of #55301 - estebank:macro-allowed, r=petrochenkov
kennytm Oct 26, 2018
3878d24
Remove redundant clone
sinkuu Oct 25, 2018
28c890e
Rollup merge of #55325 - rust-lang:steveklabnik-patch-1, r=frewsxcv
kennytm Oct 26, 2018
c224599
Rollup merge of #55343 - Keruspe:remap-debuginfo-release, r=alexcrichton
kennytm Oct 26, 2018
786d05f
Rollup merge of #55346 - nnethercote:shrink-StatementKind, r=nagisa
kennytm Oct 26, 2018
6fae1b1
Rollup merge of #55358 - sinkuu:redundant_clone2, r=estebank
kennytm Oct 26, 2018
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Grammar nit
  • Loading branch information
oli-obk committed Oct 25, 2018
commit ee7f4a27d324db13ce27df9d79f258e64086d8f1
4 changes: 2 additions & 2 deletions src/librustc_mir/transform/promote_consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ impl<'a, 'tcx> Promoter<'a, 'tcx> {
mem::replace(&mut args[index], operand)
}
// We expected a `TerminatorKind::Call` for which we'd like to promote an
// argument. Since `qualify_consts` saw a `TerminatorKind::Call` here, but
// we are seeing a `Goto`, that means that the `promote_temps` method
// argument. `qualify_consts` saw a `TerminatorKind::Call` here, but
// we are seeing a `Goto`. That means that the `promote_temps` method
// already promoted this call away entirely. This case occurs when calling
// a function requiring a constant argument and as that constant value
// providing a value whose computation contains another call to a function
Expand Down