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

Issue 1805123002: Check whether we have a result instead of throwing an exception in NodeLocator. (Closed)

Created:
4 years, 9 months ago by scheglov
Modified:
4 years, 9 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Check whether we have a result instead of throwing an exception in NodeLocator. This makes analysis about 10% faster. Probably more for strong mode, which searches for VariableElement declaration nodes more often. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/599cdb62792010f95873a5d6659c02632eb990b3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M pkg/analyzer/lib/src/dart/ast/utilities.dart View 8 chunks +23 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 9 months ago (2016-03-15 19:32:01 UTC) #1
Brian Wilkerson
LGTM
4 years, 9 months ago (2016-03-15 19:46:49 UTC) #2
scheglov
4 years, 9 months ago (2016-03-15 19:47:26 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
599cdb62792010f95873a5d6659c02632eb990b3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698