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

Issue 2963183002: Don't serialize local variables. (Closed)

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

Description

Don't serialize and resynthesize local variables. It does not affect completion, because we create local variable elements in a unit during resolution of this unit. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/2bfde5a34eea096cc7bdbc80852da75c0cfa2edd

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes for review comments. #

Total comments: 2

Patch Set 3 : Rebase after removing ExecutableElement.localVariables #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -530 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 2 13 chunks +4 lines, -34 lines 0 comments Download
M pkg/analyzer/lib/src/summary/format.fbs View 1 2 Binary file 0 comments Download
M pkg/analyzer/lib/src/summary/idl.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/summary/summarize_ast.dart View 1 2 11 chunks +6 lines, -85 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart View 2 chunks +0 lines, -18 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_test.dart View 2 chunks +0 lines, -12 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_common.dart View 12 chunks +28 lines, -378 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
scheglov
3 years, 5 months ago (2017-06-29 21:26:51 UTC) #1
Paul Berry
lgtm assuming my comment in pkg/analyzer/test/src/dart/analysis/driver_test.dart is addressed. Your call as far as what to ...
3 years, 5 months ago (2017-06-29 21:34:34 UTC) #2
scheglov
https://codereview.chromium.org/2963183002/diff/1/pkg/analyzer/lib/src/summary/summarize_ast.dart File pkg/analyzer/lib/src/summary/summarize_ast.dart (right): https://codereview.chromium.org/2963183002/diff/1/pkg/analyzer/lib/src/summary/summarize_ast.dart#newcode1394 pkg/analyzer/lib/src/summary/summarize_ast.dart:1394: // serializeVariables(node.variables, false, null, null, false); On 2017/06/29 21:34:33, ...
3 years, 5 months ago (2017-06-29 21:39:54 UTC) #3
Brian Wilkerson
https://codereview.chromium.org/2963183002/diff/20001/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2963183002/diff/20001/pkg/analyzer/lib/src/dart/element/element.dart#newcode3794 pkg/analyzer/lib/src/dart/element/element.dart:3794: List<LocalVariableElement> get localVariables { If this method is always ...
3 years, 5 months ago (2017-06-29 21:51:42 UTC) #4
scheglov
https://codereview.chromium.org/2963183002/diff/20001/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2963183002/diff/20001/pkg/analyzer/lib/src/dart/element/element.dart#newcode3794 pkg/analyzer/lib/src/dart/element/element.dart:3794: List<LocalVariableElement> get localVariables { On 2017/06/29 21:51:41, Brian Wilkerson ...
3 years, 5 months ago (2017-06-29 22:09:12 UTC) #5
scheglov
PTAL We don't resynthesize local variables anymore, and ExecutableElement.localElement was removed. So, this CL removes ...
3 years, 5 months ago (2017-07-06 00:10:15 UTC) #7
Brian Wilkerson
lgtm
3 years, 5 months ago (2017-07-06 00:42:13 UTC) #8
scheglov
3 years, 5 months ago (2017-07-06 00:57:32 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
2bfde5a34eea096cc7bdbc80852da75c0cfa2edd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698