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

Issue 2624513005: Small cleanups in the Kernel FlowGraphBuilder (Closed)

Created:
3 years, 11 months ago by Kevin Millikin (Google)
Modified:
3 years, 11 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Small cleanups in the Kernel FlowGraphBuilder - The flow graph builder is only used to visit Statements and Expressions so it does not need TreeVisitor as a base class. This will make refactoring it easier. - The TranslationHelper is bound to a Thread so we do not need Thread::Current where we have a TranslationHelper. - BlockExpression does not exist in Kernel any more, so it can be removed from the C++ AST implementation. BUG= R=kustermann@google.com Committed: https://github.com/dart-lang/sdk/commit/a39234eede23e97aba5b15ea3430b30a9a455a18

Patch Set 1 #

Total comments: 3

Patch Set 2 : Incorporate review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -102 lines) Patch
M runtime/vm/kernel.h View 3 chunks +0 lines, -29 lines 0 comments Download
M runtime/vm/kernel.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M runtime/vm/kernel_binary.cc View 3 chunks +0 lines, -20 lines 0 comments Download
M runtime/vm/kernel_reader.h View 1 chunk +2 lines, -5 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 7 chunks +12 lines, -12 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 5 chunks +6 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Kevin Millikin (Google)
3 years, 11 months ago (2017-01-10 09:23:17 UTC) #2
kustermann
LGTM https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc#newcode1322 runtime/vm/kernel_to_il.cc:1322: Thread* thread = translation_helper_.thread(); We have a macro ...
3 years, 11 months ago (2017-01-10 09:43:43 UTC) #3
kustermann
https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc#newcode1322 runtime/vm/kernel_to_il.cc:1322: Thread* thread = translation_helper_.thread(); On 2017/01/10 09:43:43, kustermann wrote: ...
3 years, 11 months ago (2017-01-10 09:45:15 UTC) #4
Kevin Millikin (Google)
https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc File runtime/vm/kernel_to_il.cc (right): https://codereview.chromium.org/2624513005/diff/1/runtime/vm/kernel_to_il.cc#newcode1322 runtime/vm/kernel_to_il.cc:1322: Thread* thread = translation_helper_.thread(); On 2017/01/10 09:45:15, kustermann wrote: ...
3 years, 11 months ago (2017-01-10 09:50:00 UTC) #5
Kevin Millikin (Google)
3 years, 11 months ago (2017-01-10 09:51:04 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
a39234eede23e97aba5b15ea3430b30a9a455a18 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698