Clean up handling of -Zpgo-gen commandline option.
This commit is contained in:
parent
3750348daf
commit
7b1df42acc
9 changed files with 60 additions and 27 deletions
|
@ -104,7 +104,7 @@ pub fn set_probestack(cx: &CodegenCx<'ll, '_>, llfn: &'ll Value) {
|
|||
}
|
||||
|
||||
// probestack doesn't play nice either with pgo-gen.
|
||||
if cx.sess().opts.debugging_opts.pgo_gen.is_some() {
|
||||
if cx.sess().opts.debugging_opts.pgo_gen.enabled() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue