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

Issue 2921613003: [kernel] Streaming refactorings. (Closed)

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

Description

[kernel] Streaming refactorings. Refactorings. Mostly about only reading FunctionNode one place by introducing a helper class that will read and skip what it is told. For 'nested' things inside the function node (e.g. the body), the caller for the helper still needs to handle it if it shouldn't just be skipped. 'Non-nested' things (e.g. integers) are saved and can be fetched by the caller. R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/2a7a410c937440a54ea38d21360e3c6f330bc9b1

Patch Set 1 #

Patch Set 2 : Changed thread_interrupter_linux back (was only changed for debug reasons) #

Patch Set 3 : More helpers. #

Patch Set 4 : Fix assert #

Patch Set 5 : Re-apply the reordering of required_parameter_count and total_parameter_count #

Unified diffs Side-by-side diffs Delta from patch set Stats (+883 lines, -479 lines) Patch
M runtime/vm/kernel_binary_flowgraph.h View 1 2 3 4 6 chunks +673 lines, -31 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 2 3 4 62 chunks +210 lines, -448 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
jensj
What do you think? If you're okay with this sort of refactoring, I will do ...
3 years, 6 months ago (2017-06-01 11:15:17 UTC) #2
jensj
(I added more helper classes).
3 years, 6 months ago (2017-06-02 11:17:15 UTC) #3
jensj
mind the rebase.
3 years, 6 months ago (2017-06-14 09:29:32 UTC) #4
Kevin Millikin (Google)
LGTM. I have some ideas about ways we might make this simpler from an API ...
3 years, 6 months ago (2017-06-19 13:00:27 UTC) #5
jensj
3 years, 6 months ago (2017-06-20 07:22:59 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
2a7a410c937440a54ea38d21360e3c6f330bc9b1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698