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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8740d5d
Add benchmarks for [u8]::make_ascii_uppercase
SimonSapin Mar 18, 2019
ce933f7
Make u8::to_ascii_lowercase and to_ascii_uppercase branchless
SimonSapin Mar 18, 2019
fbe34cc
Add benchmark for not-quite-correct “fake SIMD” make_ascii_uppercase
SimonSapin Mar 18, 2019
e3fb6f8
Tidy
SimonSapin Mar 18, 2019
525a043
Rename src/libcore/benches/ascii_case.rs to ascii.rs
SimonSapin Mar 18, 2019
6d3840b
Add benchmarks for `u8::is_ascii*`
SimonSapin Mar 18, 2019
b4faa9b
Remove ASCII_CHARACTER_CLASS table, use `match` with range patterns i…
SimonSapin Mar 18, 2019
4a3241a
Benchmark more possibles impls of [u8]::make_ascii_uppercase
SimonSapin Mar 18, 2019
0ad91f7
Simplify u8::to_ascii_{upp,low}ercase while keeping it fast
SimonSapin Mar 18, 2019
c1ec29a
ASCII uppercase: add "subtract shifted bool" benchmark
SimonSapin Mar 19, 2019
7fad370
ASCII uppercase: add "subtract multiplied bool" benchmark
SimonSapin Mar 19, 2019
b34a71b
add suggestions to trim_{left,right} deprecations
euclio Mar 22, 2019
ac3290e
Add suggestion to use `&*var` when `&str: From<String>` is expected
estebank Mar 18, 2019
2f7b320
extend on-unimplemented docs
estebank Mar 18, 2019
e929d19
review comments
estebank Mar 23, 2019
4b38294
syntax: Remove warning for unnecessary path disambiguators
petrochenkov Jan 13, 2019
00716b4
Make `ptr::eq` documentation mention smart-pointer behavior
czipperz Mar 23, 2019
c709a10
Refactor tuple comparison tests
czipperz Mar 24, 2019
e91689c
Rework documentation to be about fat pointers
czipperz Mar 25, 2019
fbfc808
Rework documentation into examples
czipperz Mar 25, 2019
7e156c2
Make some lints incremental
Zoxc Jun 11, 2018
32bc4a5
Make more lints incremental
Zoxc Mar 3, 2019
00d8fa3
Update tests
Zoxc Mar 13, 2019
9e66303
[CI] record docker image info for reuse
cuviper Mar 25, 2019
91b7423
Reject integer suffix when tuple indexing
estebank Mar 25, 2019
630d5a4
renames EvalContext to InterpretCx.
kenta7777 Mar 26, 2019
6ad77b0
review comments
estebank Mar 26, 2019
0e0383a
adjust MaybeUninit API to discussions
RalfJung Mar 18, 2019
853ae8d
fix some uses I missed
RalfJung Mar 19, 2019
4093bec
Exclude UnusedBrokenConst from module lints
Zoxc Mar 26, 2019
c7ddb83
Use `expect_no_suffix` for error
estebank Mar 26, 2019
1bb3694
Reword invalid suffixe errors
estebank Mar 26, 2019
8d1cc72
Add specific message for tuple struct invoked with suffixed numeric f…
estebank Mar 26, 2019
24a0cae
librustc_driver => 2018
taiki-e Mar 26, 2019
a365287
fix: Make incremental artifact deletion more robust
Marwes Mar 26, 2019
8733b2a
Add `Default` to `std::alloc::System`
TimDiekmann Mar 26, 2019
892f7c4
renames EvalContext to InterpretCx in docs and comments.
kenta7777 Mar 27, 2019
61b6c56
Minor rewordings and add `dyn` keyword
czipperz Mar 27, 2019
14f3f6c
librustc_interface => 2018
Centril Mar 26, 2019
bf1068b
librustc_interface => 2018; rename rustc-rayon to rayon in Cargo.toml
Centril Mar 27, 2019
7945eff
generalize diagnostic for x = y where type bool is expected.
Centril Mar 26, 2019
05d59fe
add test for assignment x = y where type bool is expected.
Centril Mar 26, 2019
0b9c589
adjust assignment-in-if test accordingly.
Centril Mar 26, 2019
ce1c5e0
add negative test case in assignment-expected-bool
Centril Mar 27, 2019
2368aa8
Add some tests
JohnTitor Mar 27, 2019
ba21e0b
Include id in Thread's Debug implementation
sugar700 Mar 27, 2019
74a69f2
Rollup merge of #57293 - Zoxc:incr-passes3, r=michaelwoerister
cuviper Mar 28, 2019
c818c1a
Rollup merge of #57565 - petrochenkov:turbowarn, r=Centril
cuviper Mar 28, 2019
2a3c2bf
Rollup merge of #58253 - taiki-e:librustc_driver-2018, r=petrochenkov
cuviper Mar 28, 2019
ecf6363
Rollup merge of #58837 - Centril:librustc_interface_2018, r=petrochenkov
cuviper Mar 28, 2019
e5fa597
Rollup merge of #59268 - estebank:from-string, r=QuietMisdreavus
cuviper Mar 28, 2019
c70cdc0
Rollup merge of #59283 - SimonSapin:branchless-ascii-case, r=joshtrip…
cuviper Mar 28, 2019
ad5bbf0
Rollup merge of #59284 - RalfJung:maybe-uninit, r=sfackler
cuviper Mar 28, 2019
a4bf855
Rollup merge of #59372 - euclio:rename-trim, r=rkruppe
cuviper Mar 28, 2019
35b339b
Rollup merge of #59390 - czipperz:ptr_eq_smart_pointer, r=Centril,ste…
cuviper Mar 28, 2019
413aaf3
Rollup merge of #59393 - czipperz:refactor_tuple_comparison_tests, r=…
cuviper Mar 28, 2019
468c02f
Rollup merge of #59420 - cuviper:ci-image-info, r=alexcrichton
cuviper Mar 28, 2019
be34621
Rollup merge of #59421 - estebank:tuple-index-suffix, r=petrochenkov
cuviper Mar 28, 2019
99f6de7
Rollup merge of #59430 - kenta7777:rename-evalcontext-to-interpretcx,…
cuviper Mar 28, 2019
1e9e80f
Rollup merge of #59439 - Centril:generalize-assign-to-bool-diagnostic…
cuviper Mar 28, 2019
6e65ae7
Rollup merge of #59449 - Marwes:issue_57958, r=michaelwoerister
cuviper Mar 28, 2019
44c411e
Rollup merge of #59451 - TimDiekmann:patch-1, r=sfackler
cuviper Mar 28, 2019
4a322f5
Rollup merge of #59459 - JohnTitor:add-tests, r=Centril
cuviper Mar 28, 2019
a2c4562
Rollup merge of #59460 - xfix:include-id-in-thread-debug, r=Amanieu
cuviper Mar 28, 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
renames EvalContext to InterpretCx in docs and comments.
  • Loading branch information
kenta7777 committed Mar 27, 2019
commit 892f7c430dddbbd5a2e7c6146b19a762ed1e40e8
2 changes: 1 addition & 1 deletion src/librustc/mir/interpret/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ impl<'tcx> AllocMap<'tcx> {
}
}

/// Returns `None` in case the `AllocId` is dangling. An `EvalContext` can still have a
/// Returns `None` in case the `AllocId` is dangling. An `InterpretCx` can still have a
/// local `Allocation` for that `AllocId`, but having such an `AllocId` in a constant is
/// illegal and will likely ICE.
/// This function exists to allow const eval to detect the difference between evaluation-
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_mir/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const STEPS_UNTIL_DETECTOR_ENABLED: isize = 1_000_000;
/// Should be a power of two for performance reasons.
const DETECTOR_SNAPSHOT_PERIOD: isize = 256;

/// The `EvalContext` is only meant to be used to do field and index projections into constants for
/// The `InterpretCx` is only meant to be used to do field and index projections into constants for
/// `simd_shuffle` and const patterns in match arms.
///
/// The function containing the `match` that is currently being analyzed may have generic bounds
Expand Down