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

Issue 2975933002: Check emitter constants and fix tearOffName for JConstructorBody (Closed)

Created:
3 years, 5 months ago by Johnni Winther
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Check emitter constants and fix tearOffName for JConstructorBody R=sigmund@google.com, sra@google.com Committed: https://github.com/dart-lang/sdk/commit/72e8925206019594a2c807da3a49af68c2f1d6dd

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -31 lines) Patch
M pkg/compiler/lib/src/js_emitter/model.dart View 1 chunk +5 lines, -0 lines 2 comments Download
M pkg/compiler/lib/src/js_model/elements.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/equivalence/check_functions.dart View 8 chunks +59 lines, -28 lines 0 comments Download
M tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Johnni Winther
3 years, 5 months ago (2017-07-11 18:08:12 UTC) #2
sra1
lgtm, but I'm not sure which part achieves "fix tearOffName for JConstructorBody" https://codereview.chromium.org/2975933002/diff/1/pkg/compiler/lib/src/js_emitter/model.dart File pkg/compiler/lib/src/js_emitter/model.dart ...
3 years, 5 months ago (2017-07-11 18:24:05 UTC) #4
Johnni Winther
On 2017/07/11 18:24:05, sra1 wrote: > lgtm, but I'm not sure which part achieves "fix ...
3 years, 5 months ago (2017-07-11 18:39:53 UTC) #5
Siggi Cherem (dart-lang)
lgtm
3 years, 5 months ago (2017-07-11 21:18:01 UTC) #6
Johnni Winther
Committed patchset #1 (id:1) manually as 72e8925206019594a2c807da3a49af68c2f1d6dd (presubmit successful).
3 years, 5 months ago (2017-07-12 08:37:29 UTC) #8
Johnni Winther
3 years, 5 months ago (2017-07-12 10:03:24 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/2975933002/diff/1/pkg/compiler/lib/src/js_emi...
File pkg/compiler/lib/src/js_emitter/model.dart (right):

https://codereview.chromium.org/2975933002/diff/1/pkg/compiler/lib/src/js_emi...
pkg/compiler/lib/src/js_emitter/model.dart:397: return
'method[name=${name},element=${element}'
On 2017/07/11 18:24:05, sra1 wrote:
> FWIW I prefer these debug-oriented strings to have the same name as the class
> and use parens and source-code-like spacing, e.g.
> 
>     Method(name=x, element=z)
> 
> rather than
> 
>     method[name=x,element=z].
> 
> If we consistently use the class name then it is easier to know where to look
> for the definition.

Will change in a follow-up CL.

Powered by Google App Engine
This is Rietveld 408576698