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

Issue 2806483003: Implement expression evaluation in Coninuation Passing Style (Closed)

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

Description

Implement expression evaluation in Coninuation Passing Style This enables support for Return statements. BUG= R=dmitryas@google.com, kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/feb38e4c8b15c829ffd022716653b2aaaeb36193

Patch Set 1 #

Patch Set 2 : Refactor Executer placement #

Total comments: 34

Patch Set 3 : Apply comments #

Patch Set 4 : Implement while, if, variable initialization in CPS #

Patch Set 5 : Move recursive calls to eval in the trampoline #

Total comments: 25

Patch Set 6 : Apply comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+522 lines, -155 lines) Patch
M pkg/kernel/lib/interpreter/interpreter.dart View 1 2 3 4 5 5 chunks +522 lines, -155 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
zhivkag
Hi, This change modifies the evaluation of expression from recursive to CPS and adds support ...
3 years, 8 months ago (2017-04-07 13:36:10 UTC) #2
Dmitry Stefantsov
I like it! However, I have some comments. Please, find them below. https://codereview.chromium.org/2806483003/diff/20001/pkg/kernel/lib/interpreter/interpreter.dart File pkg/kernel/lib/interpreter/interpreter.dart ...
3 years, 8 months ago (2017-04-10 14:05:53 UTC) #3
zhivkag
Thanks for the comments, Dima! I also modified execution of If/While/VariableDeclaration, since it was incomplete. ...
3 years, 8 months ago (2017-04-11 11:37:39 UTC) #4
Dmitry Stefantsov
I think this code is great! LTGM with some small comments. https://codereview.chromium.org/2806483003/diff/80001/pkg/kernel/lib/interpreter/interpreter.dart File pkg/kernel/lib/interpreter/interpreter.dart (right): ...
3 years, 8 months ago (2017-04-12 12:53:11 UTC) #5
Dmitry Stefantsov
Correcting the typo: LGTM :)
3 years, 8 months ago (2017-04-18 12:27:45 UTC) #6
Kevin Millikin (Google)
It LGTM. I have some suggestions that (I think) will make it simpler, but almost ...
3 years, 8 months ago (2017-04-20 10:50:20 UTC) #7
zhivkag
Thanks for the review! I applied most of the suggestions, the remaining will be separate ...
3 years, 8 months ago (2017-04-20 13:21:36 UTC) #8
zhivkag
3 years, 8 months ago (2017-04-20 13:22:55 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
feb38e4c8b15c829ffd022716653b2aaaeb36193 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698