Inline and remove DepGraphData::try_mark_parent_green.#154125
Inline and remove DepGraphData::try_mark_parent_green.#154125rust-bors[bot] merged 1 commit intorust-lang:mainfrom
DepGraphData::try_mark_parent_green.#154125Conversation
It has a single call site. And also remove all the `debug!` calls that clutter up the code. The end result is much easier to read, with `try_mark_previous_green` now recursively calling itself directly, instead of indirectly via `try_mark_parent_green`.
|
|
|
@bors try @rust-timer queue LGTM, but since it's hot... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Inline and remove `DepGraphData::try_mark_parent_green`.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (46d5d85): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -3.2%, secondary -2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 484.336s -> 485.839s (0.31%) |
Rollup of 11 pull requests Successful merges: - #152880 (Tweak incorrect assoc item note) - #153526 (Fix LegacyKeyValueFormat report from docker build: i686) - #153613 (interpreter error reporting: remove arguments that are always the same) - #154029 (Replace `truncate(0)` with `clear()`) - #154125 (Inline and remove `DepGraphData::try_mark_parent_green`.) - #154185 (Prevent no_threads RwLock's write() impl from setting mode to -1 when it is locked for reading) - #154394 (Normalize rustc path prefix when testing `-Z track-diagnostics`) - #154450 (Use the normal arg-parsing machinery for `-Zassert-incr-state`) - #154475 (Emit a pre-expansion feature gate warning for `box`'ed struct field patterns) - #154500 (EnumSizeOpt: use Allocation::write_scalar instead of manual endianess logic) - #154502 (interpret: ensure that untupled arguments are actually tuples)
Rollup merge of #154125 - nnethercote:rm-try_mark_parent_green, r=oli-obk Inline and remove `DepGraphData::try_mark_parent_green`. It has a single call site. And also remove all the `debug!` calls that clutter up the code. The end result is much easier to read, with `try_mark_previous_green` now recursively calling itself directly, instead of indirectly via `try_mark_parent_green`. r? @oli-obk
It has a single call site. And also remove all the
debug!calls that clutter up the code. The end result is much easier to read, withtry_mark_previous_greennow recursively calling itself directly, instead of indirectly viatry_mark_parent_green.r? @oli-obk