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

Unified Diff: pkg/compiler/lib/src/js_emitter/model.dart

Issue 1245833003: dart2js: Support checked setters in the program builder. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix bad copy/paste. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_emitter/model.dart
diff --git a/pkg/compiler/lib/src/js_emitter/model.dart b/pkg/compiler/lib/src/js_emitter/model.dart
index a76c63a45979dd96bc40cc8cf6d2f9f8d3be9e34..46b43196178df534057d660a73edf5c6d01b0658 100644
--- a/pkg/compiler/lib/src/js_emitter/model.dart
+++ b/pkg/compiler/lib/src/js_emitter/model.dart
@@ -226,6 +226,7 @@ class Class implements FieldContainer {
final List<Method> methods;
final List<Field> fields;
final List<StubMethod> isChecks;
+ final List<StubMethod> checkedSetters;
/// Stub methods for this class that are call stubs for getters.
final List<StubMethod> callStubs;
@@ -263,6 +264,7 @@ class Class implements FieldContainer {
this.callStubs,
this.typeVariableReaderStubs,
this.noSuchMethodStubs,
+ this.checkedSetters,
this.isChecks,
this.functionTypeIndex,
{this.onlyForRti,
@@ -295,6 +297,7 @@ class MixinApplication extends Class {
List<Field> staticFieldsForReflection,
List<StubMethod> callStubs,
List<StubMethod> typeVariableReaderStubs,
+ List<StubMethod> checkedSetters,
List<StubMethod> isChecks,
js.Expression functionTypeIndex,
{bool onlyForRti,
@@ -307,7 +310,9 @@ class MixinApplication extends Class {
callStubs,
typeVariableReaderStubs,
const <StubMethod>[],
- isChecks, functionTypeIndex,
+ checkedSetters,
+ isChecks,
+ functionTypeIndex,
onlyForRti: onlyForRti,
isDirectlyInstantiated: isDirectlyInstantiated,
isNative: false);

Powered by Google App Engine
This is Rietveld 408576698