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

Issue 10911062: Codegen support for the argument definition test. (Closed)

Created:
8 years, 3 months ago by ngeoffray
Modified:
8 years, 3 months ago
Reviewers:
ahe, floitsch, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Codegen support for the argument definition test. Committed: https://code.google.com/p/dart/source/detail?r=11814

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -22 lines) Patch
M lib/compiler/implementation/closure.dart View 1 2 3 4 6 chunks +24 lines, -3 lines 0 comments Download
M lib/compiler/implementation/compile_time_constants.dart View 1 2 3 4 2 chunks +22 lines, -0 lines 0 comments Download
M lib/compiler/implementation/enqueue.dart View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M lib/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 3 chunks +17 lines, -1 line 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 3 4 3 chunks +14 lines, -8 lines 0 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 2 3 4 7 chunks +77 lines, -9 lines 0 comments Download
M lib/compiler/implementation/ssa/codegen.dart View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M lib/compiler/implementation/ssa/nodes.dart View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M lib/compiler/implementation/tree/nodes.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A tests/language/argument_definition2_test.dart View 1 chunk +65 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
ngeoffray
PTAL
8 years, 3 months ago (2012-09-04 10:29:50 UTC) #1
kasperl
https://chromiumcodereview.appspot.com/10911062/diff/1/lib/compiler/implementation/closure.dart File lib/compiler/implementation/closure.dart (right): https://chromiumcodereview.appspot.com/10911062/diff/1/lib/compiler/implementation/closure.dart#newcode332 lib/compiler/implementation/closure.dart:332: String name = '${parameterName.slowToString()}_check'; Is it a problem if ...
8 years, 3 months ago (2012-09-04 10:50:08 UTC) #2
ngeoffray
https://chromiumcodereview.appspot.com/10911062/diff/1/lib/compiler/implementation/closure.dart File lib/compiler/implementation/closure.dart (right): https://chromiumcodereview.appspot.com/10911062/diff/1/lib/compiler/implementation/closure.dart#newcode332 lib/compiler/implementation/closure.dart:332: String name = '${parameterName.slowToString()}_check'; On 2012/09/04 10:50:08, kasperl wrote: ...
8 years, 3 months ago (2012-09-04 10:53:44 UTC) #3
ngeoffray
Florian suggested to always have elements for parameter check instructions (eg even when the parameter ...
8 years, 3 months ago (2012-09-04 12:13:17 UTC) #4
floitsch
LGTM. thanks. https://chromiumcodereview.appspot.com/10911062/diff/6001/lib/compiler/implementation/ssa/builder.dart File lib/compiler/implementation/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/10911062/diff/6001/lib/compiler/implementation/ssa/builder.dart#newcode1271 lib/compiler/implementation/ssa/builder.dart:1271: Element redirect = closureData.parametersWithSentinel[element]; s/redirect/checkResultElement ? (now ...
8 years, 3 months ago (2012-09-04 13:09:31 UTC) #5
ngeoffray
8 years, 3 months ago (2012-09-04 13:17:18 UTC) #6
https://chromiumcodereview.appspot.com/10911062/diff/6001/lib/compiler/implem...
File lib/compiler/implementation/ssa/builder.dart (right):

https://chromiumcodereview.appspot.com/10911062/diff/6001/lib/compiler/implem...
lib/compiler/implementation/ssa/builder.dart:1271: Element redirect =
closureData.parametersWithSentinel[element];
On 2012/09/04 13:09:31, floitsch wrote:
> s/redirect/checkResultElement ?
> (now that it is not just for redirects anymore).

Done.

Powered by Google App Engine
This is Rietveld 408576698