Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 3003383002: [VM] Make us compile with debug-optimization-level=0 again (Closed)

Created:
3 years, 3 months ago by kustermann
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M runtime/vm/isolate.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
kustermann
3 years, 3 months ago (2017-08-25 11:35:27 UTC) #2
Vyacheslav Egorov (Google)
lgtm with comments addressed https://codereview.chromium.org/3003383002/diff/1/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/3003383002/diff/1/runtime/vm/isolate.h#newcode511 runtime/vm/isolate.h:511: #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) ? ...
3 years, 3 months ago (2017-08-25 11:43:41 UTC) #3
kustermann
https://codereview.chromium.org/3003383002/diff/1/runtime/vm/isolate.h File runtime/vm/isolate.h (right): https://codereview.chromium.org/3003383002/diff/1/runtime/vm/isolate.h#newcode511 runtime/vm/isolate.h:511: #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) On 2017/08/25 11:43:41, Vyacheslav Egorov ...
3 years, 3 months ago (2017-08-25 11:46:17 UTC) #5
kustermann
Committed patchset #2 (id:40001) manually as 76a00500ad139af15d05da916cfe689bcd7b2ad6 (presubmit successful).
3 years, 3 months ago (2017-08-25 11:46:32 UTC) #7
kmilka
3 years, 3 months ago (2017-08-25 17:11:32 UTC) #8
Message was sent while issue was closed.
On 2017/08/25 11:46:32, kustermann wrote:
> Committed patchset #2 (id:40001) manually as
> 76a00500ad139af15d05da916cfe689bcd7b2ad6 (presubmit successful).

I'm going to guess you meant to include kmillikin@ rather than me?

Powered by Google App Engine
This is Rietveld 408576698