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

Issue 2665003002: Fix background compiler issue with new-space allocation in the parser. (Closed)

Created:
3 years, 10 months ago by Florian Schneider
Modified:
3 years, 10 months ago
Reviewers:
siva, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix background compiler issue with new-space allocation in the parser. Field::GetterName would allocate in new-space which is not allowed during background compilation. Fixes #26316. R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/7ac05a4e0265a9a6a6a3d0724e4ec548a0f63ba1

Patch Set 1 #

Total comments: 2

Patch Set 2 : use LookupGetter/SetterSymbol #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -33 lines) Patch
M runtime/vm/parser.cc View 1 9 chunks +51 lines, -33 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Florian Schneider
3 years, 10 months ago (2017-01-30 22:57:37 UTC) #2
hausner
DBC https://codereview.chromium.org/2665003002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2665003002/diff/1/runtime/vm/parser.cc#newcode11477 runtime/vm/parser.cc:11477: String::ZoneHandle(Z, Field::GetterSymbol(func_name)); I don't think we want to ...
3 years, 10 months ago (2017-01-30 23:01:03 UTC) #4
Florian Schneider
https://codereview.chromium.org/2665003002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2665003002/diff/1/runtime/vm/parser.cc#newcode11477 runtime/vm/parser.cc:11477: String::ZoneHandle(Z, Field::GetterSymbol(func_name)); On 2017/01/30 23:01:03, hausner wrote: > I ...
3 years, 10 months ago (2017-01-30 23:30:23 UTC) #5
hausner
Using Field::LookupGetterSymbol() you can determine if a symbol for a particular getter exists. If it ...
3 years, 10 months ago (2017-01-30 23:31:50 UTC) #6
Florian Schneider
On 2017/01/30 23:31:50, hausner wrote: > Using Field::LookupGetterSymbol() you can determine if a symbol for ...
3 years, 10 months ago (2017-01-31 01:19:36 UTC) #7
hausner
LGTM!
3 years, 10 months ago (2017-01-31 01:41:29 UTC) #8
Florian Schneider
3 years, 10 months ago (2017-02-01 01:21:10 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7ac05a4e0265a9a6a6a3d0724e4ec548a0f63ba1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698