Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(255)

Issue 7547046: Minimal diff for converting generator interface wrap to a function. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by usrbincc
Modified:
12 years, 3 months ago
Reviewers:
arv
CC:
traceur-compiler-reviews_googlegroups.com
Base URL:
https://code.google.com/p/traceur-compiler/@master
Visibility:
Public.

Description

Minimal diff for converting generator interface wrap to a function. This is setting up the final version using RuntimeInliner. BUG=None TEST=None

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reindented. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -67 lines) Patch
M src/codegeneration/generator/GeneratorTransformer.js View 1 1 chunk +70 lines, -67 lines 0 comments Download

Messages

Total messages: 2
arv
LGTM https://codereview.appspot.com/7547046/diff/1/src/codegeneration/generator/GeneratorTransformer.js File src/codegeneration/generator/GeneratorTransformer.js (right): https://codereview.appspot.com/7547046/diff/1/src/codegeneration/generator/GeneratorTransformer.js#newcode238 src/codegeneration/generator/GeneratorTransformer.js:238: return { reindent?
12 years, 3 months ago (2013-03-13 22:26:54 UTC) #1
usrbincc
12 years, 3 months ago (2013-03-14 20:53:13 UTC) #2
Reindented.

The diff is a little noisy because I merged in the previous code review
changes. Things don't merge well during reindents, so I had to manually
fix some things. One area git needs to improve on.

----

Patch order at a glance:

Make generator common code depend only upon constants.
https://codereview.appspot.com/7761043
Use generator 'return' to simplify the code for 'close()'
https://codereview.appspot.com/7519046
Checking undefined properties is slow, so cache in a boolean.
https://codereview.appspot.com/7663044
Use an inner object instead of captured vars.
https://codereview.appspot.com/7547045
Minimal diff for converting generator interface wrap to a function.
https://codereview.appspot.com/7547046
Use RuntimeInliner to provide the generator common code.
https://codereview.appspot.com/7487046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b