commit | 386b52ed4f409b3ce54eb945d3ba3c7d80e13c11 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Fri Aug 05 15:18:41 2016 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Fri Aug 05 15:18:41 2016 -0700 |
tree | e100d223dbef553525bab70de030b2af11c4443d | |
parent | 35e160025c5a7005f97c5ad55120999cf83a4ce1 [diff] |
Subzero: Use Cfg::getOptLevel() instead of ClFlags version. The opt level (O2 versus Om1) should be tested using Cfg::getOptLevel() instead of getFlags().getOptLevel() whenever possible. This is because if you run "-Om1 -force-O2=foo", and you're compiling foo, the first form tells you O2 while the second form tells you Om1. BUG= none R=eholk@chromium.org Review URL: https://codereview.chromium.org/2210773002 .