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

Issue 9969212: Reapplies (again) "Don't try to box immutable objects." (Closed)

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

Description

Reapplies (again) "Don't try to box immutable objects." This reapplies commit 6631 plus a fix, so that captured fields in closures are mangled correctly. Original CL: https://chromiumcodereview.appspot.com//10091036 Committed: https://code.google.com/p/dart/source/detail?r=6679

Patch Set 1 #

Patch Set 2 : Undo fix. #

Patch Set 3 : Apply fix. #

Total comments: 2

Patch Set 4 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -19 lines) Patch
M lib/compiler/implementation/ssa/closure.dart View 1 2 3 6 chunks +34 lines, -18 lines 0 comments Download
M samples/tests/samples/samples-leg.status View 1 chunk +0 lines, -1 line 0 comments Download
A tests/language/src/Closure4Test.dart View 1 chunk +18 lines, -0 lines 0 comments Download
A tests/language/src/Closure5Test.dart View 1 chunk +18 lines, -0 lines 0 comments Download
A tests/language/src/Closure6Test.dart View 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
floitsch
Patchset 2 contains the original CL (without modifications). Patchset 3 contains the fix.
8 years, 8 months ago (2012-04-17 16:09:24 UTC) #1
ngeoffray
LGTM! https://chromiumcodereview.appspot.com/9969212/diff/2001/lib/compiler/implementation/ssa/closure.dart File lib/compiler/implementation/ssa/closure.dart (right): https://chromiumcodereview.appspot.com/9969212/diff/2001/lib/compiler/implementation/ssa/closure.dart#newcode34 lib/compiler/implementation/ssa/closure.dart:34: bool isInstanceMember() => false; I don't think you ...
8 years, 8 months ago (2012-04-18 08:12:54 UTC) #2
floitsch
8 years, 8 months ago (2012-04-18 10:57:39 UTC) #3
https://chromiumcodereview.appspot.com/9969212/diff/2001/lib/compiler/impleme...
File lib/compiler/implementation/ssa/closure.dart (right):

https://chromiumcodereview.appspot.com/9969212/diff/2001/lib/compiler/impleme...
lib/compiler/implementation/ssa/closure.dart:34: bool isInstanceMember() =>
false;
On 2012/04/18 08:12:54, ngeoffray wrote:
> I don't think you need this last method here, it's already the same in the
> Element class.

Done.

Powered by Google App Engine
This is Rietveld 408576698