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

Issue 1336363003: Set empty LocalVarDescriptors on execute-once functions (Closed)

Created:
5 years, 3 months ago by hausner
Modified:
5 years, 3 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Set empty LocalVarDescriptors on execute-once functions Fixes VM crash when debugger stops while execute-once functions are on the stack, e.g. when evaluating initializer expressions of compile-time constants. BUG=24323 R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/7720e0bed74562f901743bb999344434008cc33d

Patch Set 1 #

Patch Set 2 : rmove unnecessary assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M runtime/vm/compiler.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
hausner
5 years, 3 months ago (2015-09-14 20:19:09 UTC) #2
rmacnak
LGTM. Please also remove bogus UNREACHABLE from Debugger::GetSavedCurrentContext (bogus even before your change because optimized ...
5 years, 3 months ago (2015-09-14 23:11:14 UTC) #3
hausner
5 years, 3 months ago (2015-09-14 23:26:18 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7720e0bed74562f901743bb999344434008cc33d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698