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

Issue 251593006: Functional JavaScript AST source position updates (Closed)

Created:
6 years, 8 months ago by sra1
Modified:
6 years, 7 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Functional JavaScript AST source position updates Functional update of source positions means that trees can be shared more freely. R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=35491

Patch Set 1 : #

Total comments: 13

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -29 lines) Patch
M sdk/lib/_internal/compiler/implementation/js/nodes.dart View 1 52 chunks +151 lines, -12 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 7 chunks +15 lines, -17 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sra1
I have another CL that has no source position info on these nodes and has ...
6 years, 8 months ago (2014-04-26 17:14:19 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal/compiler/implementation/js/nodes.dart File sdk/lib/_internal/compiler/implementation/js/nodes.dart (right): https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal/compiler/implementation/js/nodes.dart#newcode181 sdk/lib/_internal/compiler/implementation/js/nodes.dart:181: Node _clone(); // Single node clone Comment. Does ...
6 years, 7 months ago (2014-04-28 12:28:11 UTC) #2
sra1
https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal/compiler/implementation/js/nodes.dart File sdk/lib/_internal/compiler/implementation/js/nodes.dart (right): https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal/compiler/implementation/js/nodes.dart#newcode181 sdk/lib/_internal/compiler/implementation/js/nodes.dart:181: Node _clone(); // Single node clone On 2014/04/28 12:28:11, ...
6 years, 7 months ago (2014-04-28 18:24:09 UTC) #3
sra1
Committed patchset #3 manually as r35491 (presubmit successful).
6 years, 7 months ago (2014-04-28 18:59:13 UTC) #4
floitsch
6 years, 7 months ago (2014-04-30 15:36:01 UTC) #5
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal...
File sdk/lib/_internal/compiler/implementation/js/nodes.dart (right):

https://chromiumcodereview.appspot.com/251593006/diff/40001/sdk/lib/_internal...
sdk/lib/_internal/compiler/implementation/js/nodes.dart:181: Node _clone();  //
Single node clone
On 2014/04/28 18:24:09, sra1 wrote:
> On 2014/04/28 12:28:11, floitsch wrote:
> > Comment.
> > Does it need to clone positions?...
> 
> No, because it is used only by code that sets the position.
> It is really just avoiding threading the positions through all the
constructors.
>  I want to eventually make the positions separate wrapping nodes.

I got it (reading the source). Just wanted you to add it to the documentation.

Powered by Google App Engine
This is Rietveld 408576698