Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b380d35
add ui test for issue-62097
csmoe Oct 23, 2019
dcc14c4
suggest to add a constraint except asyn-fn without explicit output
csmoe Oct 23, 2019
9124f7a
update suggestion ui test
csmoe Oct 23, 2019
405866a
re-add miri intrinsic ABI check
RalfJung Nov 16, 2019
44b6811
rename and move read_vector_ty
RalfJung Nov 16, 2019
09180d7
make simd_size return a u64
RalfJung Nov 16, 2019
8952c8a
ICE on invalid MIR
RalfJung Nov 16, 2019
5e115a2
avoid some casts
RalfJung Nov 16, 2019
5b0e702
Create a generic HashStable derive.
cjgillot Nov 9, 2019
c2e1658
Use proc_macro for HashStable derive in libsyntax.
cjgillot Nov 9, 2019
05f5f76
Move impl HashStable for SymbolStr in libsyntax_pos.
cjgillot Nov 9, 2019
1dd5133
Move impl HashStable for Symbol in libsyntax_pos.
cjgillot Nov 9, 2019
efcb695
Further HashStable_Generic derives.
cjgillot Nov 9, 2019
2a67986
HashStable literals in libsyntax.
cjgillot Nov 9, 2019
a265bc2
HashStable_Generic for libsyntax_pos.
cjgillot Nov 9, 2019
2ba84c6
HashStable_Generic for librustc_target.
cjgillot Nov 9, 2019
333c114
Derive HashStable in librustc_target.
cjgillot Nov 9, 2019
375a761
HashStable in libsyntax.
cjgillot Nov 9, 2019
79bde05
Derive HashStable for PanicStrategy.
cjgillot Nov 9, 2019
e8e7ad6
Implement HashStable for RangeInclusive.
cjgillot Nov 16, 2019
5b4dad7
Derive HashStable_Generic for ABI types.
cjgillot Nov 16, 2019
3d97a91
Remove extern crate.
cjgillot Nov 16, 2019
44a595f
Simplify impl for SymbolStr.
cjgillot Nov 16, 2019
eda67ba
Disable gdb pretty printer global section on wasm targets
alexcrichton Nov 18, 2019
c90ad20
ci: add support for GitHub Actions in the CI scripts
pietroalbini Nov 11, 2019
bca64ce
Point at type in `let` assignment on type errors
estebank Nov 19, 2019
b1a5bb0
ci: guess some environment variables based on builder name and os
pietroalbini Nov 18, 2019
360ddc3
Rollup merge of #65730 - csmoe:return-lifetime, r=nikomatsakis
Centril Nov 20, 2019
f16a729
Rollup merge of #66460 - cjgillot:hashstable_generic, r=Zoxc
Centril Nov 20, 2019
676c51a
Rollup merge of #66468 - RalfJung:simd-cleanup, r=oli-obk
Centril Nov 20, 2019
8ca51cb
Rollup merge of #66520 - alexcrichton:disable-gdb-wasm, r=eddyb
Centril Nov 20, 2019
e6e44cf
Rollup merge of #66539 - estebank:let-ty, r=Centril
Centril Nov 20, 2019
7785cc4
Rollup merge of #66569 - pietroalbini:gha-1, r=alexcrichton
Centril Nov 20, 2019
File filter

Filter by extension

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
ICE on invalid MIR
  • Loading branch information
RalfJung committed Nov 16, 2019
commit 8952c8aa42209919c2980e99f11694e36f2b6845
5 changes: 1 addition & 4 deletions src/librustc_mir/interpret/terminator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {

match instance.def {
ty::InstanceDef::Intrinsic(..) => {
if caller_abi != Abi::RustIntrinsic && caller_abi != Abi::PlatformIntrinsic {
throw_ub_format!("Rust intrinsic called with an ABI other than \
`RustIntrinsic` and `PlatformIntrinsic`.");
}
assert!(caller_abi == Abi::RustIntrinsic || caller_abi == Abi::PlatformIntrinsic);

let old_stack = self.cur_frame();
let old_bb = self.frame().block;
Expand Down