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

Issue 2931773005: [kernel] Delete most of the AST (Closed)

Created:
3 years, 6 months ago by jensj
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] Delete most of the AST Now basically only Program (with ~no children) persists. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/bbb463ac20b954d93f9cf65cab43277b7742efa2

Patch Set 1 #

Patch Set 2 : Service tests are now passing. #

Patch Set 3 : Stream source and line_starts as well #

Patch Set 4 : Update status file; delete unused class in C++ #

Patch Set 5 : Now compiles in precompiled mode too #

Patch Set 6 : Fix CollectTokenPositionsFor by introducing LibraryHelper; renamed variables called num_whatnots to… #

Patch Set 7 : Updated binary.md with information about the toc #

Patch Set 8 : Remove getMainClosure handeling as it no longer exists #

Total comments: 12

Patch Set 9 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+758 lines, -5308 lines) Patch
M pkg/kernel/binary.md View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -2 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -3 lines 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 3 4 5 6 7 8 7 chunks +33 lines, -4 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -5 lines 0 comments Download
M runtime/vm/bootstrap_nocore.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -5 lines 0 comments Download
M runtime/vm/kernel.h View 1 2 3 4 5 5 chunks +45 lines, -2673 lines 0 comments Download
M runtime/vm/kernel.cc View 1 2 3 4 1 chunk +0 lines, -330 lines 0 comments Download
M runtime/vm/kernel_binary.h View 1 2 8 chunks +2 lines, -259 lines 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 3 4 5 1 chunk +8 lines, -1684 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.h View 1 2 3 4 5 6 7 8 15 chunks +159 lines, -11 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 2 3 4 5 6 7 8 32 chunks +249 lines, -118 lines 0 comments Download
M runtime/vm/kernel_reader.h View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 1 2 3 4 5 6 chunks +32 lines, -135 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 1 2 3 4 5 6 9 chunks +9 lines, -20 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 3 4 5 6 9 chunks +94 lines, -53 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 4 chunks +52 lines, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M tests/co19/co19-kernel.status View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
jensj
This is NOT ready for commit. Service tests fail. But any comments would be appreciated. ...
3 years, 6 months ago (2017-06-09 08:46:31 UTC) #2
jensj
Service tests are now passing. The list of debugable positions is generated lazily, i.e. if ...
3 years, 6 months ago (2017-06-12 07:24:20 UTC) #3
jensj
As a side note I might add that in precompilation mode every "real" tokenposition is ...
3 years, 6 months ago (2017-06-21 12:11:54 UTC) #5
jensj
Mind all the rebases. While the end-of-file-TOC is probably not ideal either I think it's ...
3 years, 6 months ago (2017-06-22 08:21:27 UTC) #6
jensj
https://github.com/dart-lang/sdk/commit/8b7af73daafedacf0f239d17096703420937af69 The get main closure thingy hack is no longer needed :)
3 years, 6 months ago (2017-06-23 07:49:56 UTC) #7
jensj
ping.
3 years, 5 months ago (2017-06-29 09:49:02 UTC) #8
Kevin Millikin (Google)
LGTM to land it, with comments addressed. https://codereview.chromium.org/2931773005/diff/140001/pkg/kernel/binary.md File pkg/kernel/binary.md (right): https://codereview.chromium.org/2931773005/diff/140001/pkg/kernel/binary.md#newcode135 pkg/kernel/binary.md:135: UInt32 mainMethodReference; ...
3 years, 5 months ago (2017-06-29 12:27:37 UTC) #9
jensj
Thanks. https://codereview.chromium.org/2931773005/diff/140001/pkg/kernel/binary.md File pkg/kernel/binary.md (right): https://codereview.chromium.org/2931773005/diff/140001/pkg/kernel/binary.md#newcode135 pkg/kernel/binary.md:135: UInt32 mainMethodReference; // This is a ProcedureReference with ...
3 years, 5 months ago (2017-06-30 05:51:17 UTC) #10
jensj
3 years, 5 months ago (2017-06-30 05:55:15 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
bbb463ac20b954d93f9cf65cab43277b7742efa2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698