1
Fork 0

Stabilize profile-guided optimization.

This commit is contained in:
Michael Woerister 2019-05-28 16:48:03 +02:00
parent 314194ef17
commit b7fe2ca5e0
14 changed files with 35 additions and 36 deletions

View file

@ -102,8 +102,8 @@ pub fn set_probestack(cx: &CodegenCx<'ll, '_>, llfn: &'ll Value) {
return
}
// probestack doesn't play nice either with pgo-gen.
if cx.sess().opts.debugging_opts.pgo_gen.enabled() {
// probestack doesn't play nice either with `-C profile-generate`.
if cx.sess().opts.cg.profile_generate.enabled() {
return;
}