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

Issue 2266403008: Fix couple problems with in-body incremental resolution. (Closed)

Created:
4 years, 3 months ago by scheglov
Modified:
4 years, 3 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix couple problems with in-body incremental resolution. 1. We were performing cache walking even though we don't need. This might take up to 50 ms for analyzer codebase. 2. STATIC_VARIABLE_RESOLUTION_ERRORS_IN_UNIT had null as a default value, which is not something what incremental resolver expected. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/e95eb9e794ddb607d67e499d41f5f962a811669e

Patch Set 1 #

Patch Set 2 : Actual changes. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M pkg/analyzer/lib/src/context/cache.dart View 3 chunks +20 lines, -0 lines 1 comment Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 2 chunks +6 lines, -1 line 0 comments Download
M pkg/analyzer/test/src/context/cache_test.dart View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 3 months ago (2016-08-25 18:53:32 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2266403008/diff/20001/pkg/analyzer/lib/src/context/cache.dart File pkg/analyzer/lib/src/context/cache.dart (right): https://codereview.chromium.org/2266403008/diff/20001/pkg/analyzer/lib/src/context/cache.dart#newcode1284 pkg/analyzer/lib/src/context/cache.dart:1284: bool gatherRequired() { This looks like it ought ...
4 years, 3 months ago (2016-08-25 18:57:55 UTC) #2
scheglov
4 years, 3 months ago (2016-08-26 15:29:08 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e95eb9e794ddb607d67e499d41f5f962a811669e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698