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

Issue 10662055: Add bailouts to dart backend. (Closed)

Created:
8 years, 6 months ago by Anton Muhin
Modified:
8 years, 5 months ago
Reviewers:
ahe, Roman
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : Next iteration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M lib/compiler/implementation/dart_backend/backend.dart View 1 2 chunks +23 lines, -1 line 0 comments Download
M tests/compiler/dart2js/unparser_test.dart View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Anton Muhin
8 years, 6 months ago (2012-06-26 17:52:25 UTC) #1
ahe
LGTM, but you shouldn't keep this approach long. https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode40 lib/compiler/implementation/dart_backend/backend.dart:40: // ...
8 years, 5 months ago (2012-06-27 10:52:33 UTC) #2
Anton Muhin
Thanks a lot for review, submitting. https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode40 lib/compiler/implementation/dart_backend/backend.dart:40: // TODO(antonm): eventually ...
8 years, 5 months ago (2012-06-27 15:59:46 UTC) #3
ahe
https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode52 lib/compiler/implementation/dart_backend/backend.dart:52: bailout_reason = "${e.reason}"; What if e.reason is: 'cannot find ...
8 years, 5 months ago (2012-06-27 20:34:08 UTC) #4
Anton Muhin
8 years, 5 months ago (2012-06-28 14:19:05 UTC) #5
https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implement...
File lib/compiler/implementation/dart_backend/backend.dart (right):

https://chromiumcodereview.appspot.com/10662055/diff/1/lib/compiler/implement...
lib/compiler/implementation/dart_backend/backend.dart:52: bailout_reason =
"${e.reason}";
Yes, that may happen, but I hope bailouts will go out soon, so let's solve it if
it shows up.

On 2012/06/27 20:34:08, ahe wrote:
> What if e.reason is: 'cannot find "foo"'
> 
> On 2012/06/27 15:59:46, antonmuhin wrote:
> > On 2012/06/27 10:52:33, ahe wrote:
> > > You should escape " and \
> > 
> > Sorry, why?
>

Powered by Google App Engine
This is Rietveld 408576698