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

Issue 2969073002: Add most equivalence tests to js_model/model_test (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

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -75 lines) Patch
M pkg/compiler/lib/src/js_backend/interceptor_data.dart View 7 chunks +17 lines, -25 lines 0 comments Download
M pkg/compiler/lib/src/js_model/elements.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_model/js_strategy.dart View 3 chunks +23 lines, -7 lines 2 comments Download
M pkg/compiler/lib/src/kernel/element_map_impl.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/kernel/elements.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kelements.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/world.dart View 3 chunks +3 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/equivalence/check_functions.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/js_model/model_test.dart View 2 chunks +7 lines, -16 lines 4 comments Download
M tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/kernel/test_helpers.dart View 9 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Johnni Winther
3 years, 5 months ago (2017-07-04 14:25:14 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2969073002/diff/1/pkg/compiler/lib/src/js_model/js_strategy.dart File pkg/compiler/lib/src/js_model/js_strategy.dart (right): https://codereview.chromium.org/2969073002/diff/1/pkg/compiler/lib/src/js_model/js_strategy.dart#newcode72 pkg/compiler/lib/src/js_model/js_strategy.dart:72: interceptedMembers[name] = members.map(_map.toBackendMember).toSet(); since we have a few of ...
3 years, 5 months ago (2017-07-05 21:25:53 UTC) #3
Johnni Winther
PTAL https://codereview.chromium.org/2969073002/diff/1/pkg/compiler/lib/src/js_model/js_strategy.dart File pkg/compiler/lib/src/js_model/js_strategy.dart (right): https://codereview.chromium.org/2969073002/diff/1/pkg/compiler/lib/src/js_model/js_strategy.dart#newcode72 pkg/compiler/lib/src/js_model/js_strategy.dart:72: interceptedMembers[name] = members.map(_map.toBackendMember).toSet(); On 2017/07/05 21:25:52, Siggi Cherem ...
3 years, 5 months ago (2017-07-06 14:53:40 UTC) #4
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2969073002/diff/1/tests/compiler/dart2js/js_model/model_test.dart File tests/compiler/dart2js/js_model/model_test.dart (right): https://codereview.chromium.org/2969073002/diff/1/tests/compiler/dart2js/js_model/model_test.dart#newcode39 tests/compiler/dart2js/js_model/model_test.dart:39: verbose: arguments.verbose, On 2017/07/06 14:53:40, Johnni Winther wrote: ...
3 years, 5 months ago (2017-07-06 17:47:46 UTC) #5
Johnni Winther
Committed patchset #1 (id:1) manually as 2c671d6a1b5eebd3f1a3c8aa04d496f96525855b (presubmit successful).
3 years, 5 months ago (2017-07-07 08:23:39 UTC) #7
Johnni Winther
3 years, 5 months ago (2017-07-07 08:23:50 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2969073002/diff/1/tests/compiler/dart2js/js_m...
File tests/compiler/dart2js/js_model/model_test.dart (right):

https://codereview.chromium.org/2969073002/diff/1/tests/compiler/dart2js/js_m...
tests/compiler/dart2js/js_model/model_test.dart:39: verbose: arguments.verbose,
On 2017/07/06 17:47:46, Siggi Cherem (dart-lang) wrote:
> On 2017/07/06 14:53:40, Johnni Winther wrote:
> > On 2017/07/05 21:25:53, Siggi Cherem (dart-lang) wrote:
> > > I think I'm missing something: with this change I don't see where you
create
> > the
> > > JsBackendStrategy?
> > 
> > By `useJsStrategyForTesting = true;` in line 12.
> 
> Ah! thanks, indeed that's what I missed. I recall when you added it, but
missed
> that the line overriding JsBackendStrategy here (the `beforeRun` on the left)
> was probably not necessary anymore, correct?

Yes. I just forgot to remove it earlier.

Powered by Google App Engine
This is Rietveld 408576698