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

Issue 12208067: Build finishClasses from JS AST nodes. (Closed)

Created:
7 years, 10 months ago by ahe
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org, erikcorry, floitsch
Visibility:
Public.

Description

Build "init" from JS AST nodes. Committed: https://code.google.com/p/dart/source/detail?r=18565

Patch Set 1 #

Patch Set 2 : Fix two copy and paste errors #

Patch Set 3 : Build init completely from JS AST #

Patch Set 4 : Make JS node building more convenient and readable #

Total comments: 18

Patch Set 5 : Fixed a few typos and updated native_emitter #

Patch Set 6 : Fixed type warnings and other bus #

Total comments: 3

Patch Set 7 : Fix types and other bugs #

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1027 lines, -635 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/js/nodes.dart View 1 2 3 4 5 5 chunks +177 lines, -31 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart View 1 2 3 9 chunks +77 lines, -77 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 6 7 38 chunks +669 lines, -422 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart View 1 2 3 4 5 7 1 chunk +7 lines, -4 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart View 1 2 3 4 5 7 17 chunks +91 lines, -95 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
ahe
Stephen, Erik: FYI, no need to have three people reviewing this change.
7 years, 10 months ago (2013-02-07 13:48:35 UTC) #1
ahe
I cannot create a completely empty diff between the generated out of this version and ...
7 years, 10 months ago (2013-02-07 14:02:31 UTC) #2
ahe
Not much, but this saves 913 bytes on swarm in minified mode. My plan is ...
7 years, 10 months ago (2013-02-07 14:14:51 UTC) #3
sra1
I'm finding the bigger functions a little too hard to read. One of the problems ...
7 years, 10 months ago (2013-02-07 22:51:28 UTC) #4
ahe
I have fully converted "init" to by built from JS. There are many open questions ...
7 years, 10 months ago (2013-02-08 14:07:06 UTC) #5
ahe
PTAL, I hope it is more readable now. Cheers, Peter
7 years, 10 months ago (2013-02-11 19:32:41 UTC) #6
sra1
On 2013/02/11 19:32:41, ahe wrote: > PTAL, I hope it is more readable now. > ...
7 years, 10 months ago (2013-02-12 01:08:26 UTC) #7
ngeoffray
I like the new builder. jsAst and js are a bit annoying, maybe use jst ...
7 years, 10 months ago (2013-02-12 08:42:41 UTC) #8
ngeoffray
LGTM
7 years, 10 months ago (2013-02-12 11:44:12 UTC) #9
erikcorry
I think it's OK with the readability. It feels quite a lot lighter than adding ...
7 years, 10 months ago (2013-02-12 12:17:09 UTC) #10
floitsch
DBC. https://codereview.chromium.org/12208067/diff/10009/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (left): https://codereview.chromium.org/12208067/diff/10009/dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart#oldcode308 dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:308: '''/* Opera does not support 'getOwnPropertyNames'. Therefore we ...
7 years, 10 months ago (2013-02-13 18:53:13 UTC) #11
ahe
I found a few problems during testing. Nicolas, could you take another look? Please ignore ...
7 years, 10 months ago (2013-02-14 15:22:34 UTC) #12
ngeoffray
7 years, 10 months ago (2013-02-14 15:59:00 UTC) #13
Still LGTM

Powered by Google App Engine
This is Rietveld 408576698