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

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

Issue 2319863002: Revert "dart2js: Pass type information to constructor rather than add later." (Closed)
Patch Set: Created 4 years, 3 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 62070c25bce81c36f03c140f24cb378714d47c72..a9a6d269587e3c20a2966513ef24bee606c4c302 100644
--- a/pkg/compiler/lib/src/js_emitter/model.dart
+++ b/pkg/compiler/lib/src/js_emitter/model.dart
@@ -229,7 +229,6 @@ class Class implements FieldContainer {
/// noSuchMethod stubs in the special case that the class is Object.
final List<StubMethod> noSuchMethodStubs;
final List<Field> staticFieldsForReflection;
- final bool hasRtiField; // Per-instance runtime type information pseudo-field.
final bool onlyForRti;
final bool isDirectlyInstantiated;
final bool isNative;
@@ -263,8 +262,7 @@ class Class implements FieldContainer {
this.checkedSetters,
this.isChecks,
this.functionTypeIndex,
- {this.hasRtiField,
- this.onlyForRti,
+ {this.onlyForRti,
this.isDirectlyInstantiated,
this.isNative}) {
assert(onlyForRti != null);
@@ -299,8 +297,7 @@ class MixinApplication extends Class {
List<StubMethod> checkedSetters,
List<StubMethod> isChecks,
js.Expression functionTypeIndex,
- {bool hasRtiField,
- bool onlyForRti,
+ {bool onlyForRti,
bool isDirectlyInstantiated})
: super(
element,
@@ -315,7 +312,6 @@ class MixinApplication extends Class {
checkedSetters,
isChecks,
functionTypeIndex,
- hasRtiField: hasRtiField,
onlyForRti: onlyForRti,
isDirectlyInstantiated: isDirectlyInstantiated,
isNative: false);

Powered by Google App Engine
This is Rietveld 408576698