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

Issue 1075113003: Pull JS assignments into var initializer. (Closed)

Created:
5 years, 8 months ago by asgerf
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Pull JS assignments into var initializer. E.g. var x; x = new Foo(); x.bar(); return x; Becomes: var x = new Foo(); x.bar(); return x; BUG= R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=45058

Patch Set 1 #

Patch Set 2 : Updated js_cps_ir_backend test files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -44 lines) Patch
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 2 chunks +35 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart View 1 3 chunks +3 lines, -8 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart View 1 4 chunks +4 lines, -9 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_constructor_test.dart View 1 5 chunks +5 lines, -14 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart View 1 2 chunks +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_supercall_test.dart View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
asgerf
5 years, 8 months ago (2015-04-10 08:41:45 UTC) #2
Kevin Millikin (Google)
LGTM.
5 years, 8 months ago (2015-04-10 08:50:05 UTC) #3
asgerf
5 years, 8 months ago (2015-04-10 09:42:30 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 45058 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698