Description[VM] Make us compile with debug-optimization-level=0 again
After [0] landed our debug builders managed to still compile, because
the default debug-optimization-level allows the compiler to inline. This
caused a "CanReload() const { return false; }" to be inlined and
constant folded, so the call to ReloadSources() was eliminated.
Compiling with debug-optimization-level=0 disables inlining and keeps
the call, which gives us a linker error when building the
dart_precompiled_runtime target.
[0] https://codereview.chromium.org/2997243002
R=vegorov@google.com
Committed: https://github.com/dart-lang/sdk/commit/76a00500ad139af15d05da916cfe689bcd7b2ad6
Patch Set 1 #
Total comments: 4
Patch Set 2 : simplify it #
Messages
Total messages: 8 (3 generated)
|