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

Issue 11416007: Fix this longstanding bug that luckily did not bite us yet: Use Class.prototype.foo$bailout.call(th… (Closed)

Created:
8 years, 1 month ago by ngeoffray
Modified:
8 years, 1 month ago
Reviewers:
karlklose, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix this longstanding bug that luckily did not bite us yet: Use Class.prototype.foo$bailout.call(this, ...) to call a bailout method instead of this.foo$bailout to avoid executing the bailout method of a subclass. Committed: https://code.google.com/p/dart/source/detail?r=15008

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -7 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_backend/namer.dart View 1 2 3 4 5 6 3 chunks +30 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
A tests/language/bailout_test.dart View 1 2 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ngeoffray
8 years, 1 month ago (2012-11-15 11:41:41 UTC) #1
ahe
Ouch, nice catch. Would it be better to change the name of the bailout method ...
8 years, 1 month ago (2012-11-15 11:46:23 UTC) #2
ahe
A few comments on the test. I haven't looked at the other file. https://codereview.chromium.org/11416007/diff/1/tests/language/bailout_test.dart File ...
8 years, 1 month ago (2012-11-15 11:50:51 UTC) #3
karlklose
LGTM.
8 years, 1 month ago (2012-11-15 12:19:06 UTC) #4
ngeoffray
Thanks Karl and Peter. I have updated the CL with a version that implements Peter's ...
8 years, 1 month ago (2012-11-15 12:26:11 UTC) #5
karlklose
Nicolas, something went wrong with your last two patch sets.
8 years, 1 month ago (2012-11-15 14:59:29 UTC) #6
ngeoffray
On 2012/11/15 14:59:29, karlklose wrote: > Nicolas, something went wrong with your last two patch ...
8 years, 1 month ago (2012-11-15 15:36:10 UTC) #7
karlklose
LGTM! https://codereview.chromium.org/11416007/diff/3002/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart File sdk/lib/_internal/compiler/implementation/js_backend/namer.dart (right): https://codereview.chromium.org/11416007/diff/3002/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart#newcode33 sdk/lib/_internal/compiler/implementation/js_backend/namer.dart:33: /// A cache of names used for bailout ...
8 years, 1 month ago (2012-11-16 09:31:17 UTC) #8
ngeoffray
https://codereview.chromium.org/11416007/diff/3002/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart File sdk/lib/_internal/compiler/implementation/js_backend/namer.dart (right): https://codereview.chromium.org/11416007/diff/3002/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart#newcode33 sdk/lib/_internal/compiler/implementation/js_backend/namer.dart:33: /// A cache of names used for bailout methods. ...
8 years, 1 month ago (2012-11-16 10:37:56 UTC) #9
ahe
8 years, 1 month ago (2012-11-16 11:26:54 UTC) #10
LGTM, nice and simple!

Powered by Google App Engine
This is Rietveld 408576698