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

Unified Diff: test/dart_codegen/expect/collection/queue.dart

Issue 967933005: rename ddc -> dev_compiler, fixes #84 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/dart_codegen/expect/collection/maps.dart ('k') | test/dart_codegen/expect/collection/set.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/collection/queue.dart
diff --git a/test/dart_codegen/expect/collection/queue.dart b/test/dart_codegen/expect/collection/queue.dart
index 9e73ab9dd3d29302857c871e7f2fd477b6f5ace5..26708addb814a06af3e45e915336f513a7d2ca8f 100644
--- a/test/dart_codegen/expect/collection/queue.dart
+++ b/test/dart_codegen/expect/collection/queue.dart
@@ -72,17 +72,17 @@ throw IterableElementError.noElement();
_sentinel = new _DoubleLinkedQueueEntrySentinel<E>();
}
factory DoubleLinkedQueue.from(Iterable elements) {
-Queue<E> list = ((__x30) => DDC$RT.cast(__x30, DDC$RT.type((DoubleLinkedQueue<dynamic> _) {
+Queue<E> list = ((__x30) => DEVC$RT.cast(__x30, DEVC$RT.type((DoubleLinkedQueue<dynamic> _) {
}
-), DDC$RT.type((Queue<E> _) {
+), DEVC$RT.type((Queue<E> _) {
}
), "CastExact", """line 207, column 21 of dart:collection/queue.dart: """, __x30 is Queue<E>, false))(new DoubleLinkedQueue());
for (final E e in elements) {
list.addLast(e);
}
- return DDC$RT.cast(list, DDC$RT.type((Queue<E> _) {
+ return DEVC$RT.cast(list, DEVC$RT.type((Queue<E> _) {
}
-), DDC$RT.type((DoubleLinkedQueue<E> _) {
+), DEVC$RT.type((DoubleLinkedQueue<E> _) {
}
), "CastGeneral", """line 211, column 12 of dart:collection/queue.dart: """, list is DoubleLinkedQueue<E>, false);
}
@@ -216,15 +216,15 @@ initialCapacity = _nextPowerOf2(initialCapacity);
factory ListQueue.from(Iterable elements) {
if (elements is List) {
int length = elements.length;
- ListQueue<E> queue = ((__x31) => DDC$RT.cast(__x31, DDC$RT.type((ListQueue<dynamic> _) {
+ ListQueue<E> queue = ((__x31) => DEVC$RT.cast(__x31, DEVC$RT.type((ListQueue<dynamic> _) {
}
-), DDC$RT.type((ListQueue<E> _) {
+), DEVC$RT.type((ListQueue<E> _) {
}
), "CastExact", """line 399, column 28 of dart:collection/queue.dart: """, __x31 is ListQueue<E>, false))(new ListQueue(length + 1));
assert (queue._table.length > length); List sourceList = elements;
- queue._table.setRange(0, length, DDC$RT.cast(sourceList, DDC$RT.type((List<dynamic> _) {
+ queue._table.setRange(0, length, DEVC$RT.cast(sourceList, DEVC$RT.type((List<dynamic> _) {
}
-), DDC$RT.type((Iterable<E> _) {
+), DEVC$RT.type((Iterable<E> _) {
}
), "CastDynamic", """line 402, column 40 of dart:collection/queue.dart: """, sourceList is Iterable<E>, false), 0);
queue._tail = length;
@@ -287,18 +287,18 @@ _add(element);
}
void addAll(Iterable<E> elements) {
if (elements is List) {
-List list = DDC$RT.cast(elements, DDC$RT.type((Iterable<E> _) {
+List list = DEVC$RT.cast(elements, DEVC$RT.type((Iterable<E> _) {
}
-), DDC$RT.type((List<dynamic> _) {
+), DEVC$RT.type((List<dynamic> _) {
}
), "CastGeneral", """line 474, column 19 of dart:collection/queue.dart: """, elements is List<dynamic>, true);
int addCount = list.length;
int length = this.length;
if (length + addCount >= _table.length) {
_preGrow(length + addCount);
- _table.setRange(length, length + addCount, DDC$RT.cast(list, DDC$RT.type((List<dynamic> _) {
+ _table.setRange(length, length + addCount, DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
}
-), DDC$RT.type((Iterable<E> _) {
+), DEVC$RT.type((Iterable<E> _) {
}
), "CastDynamic", """line 480, column 52 of dart:collection/queue.dart: """, list is Iterable<E>, false), 0);
_tail += addCount;
@@ -306,23 +306,23 @@ _preGrow(length + addCount);
else {
int endSpace = _table.length - _tail;
if (addCount < endSpace) {
-_table.setRange(_tail, _tail + addCount, DDC$RT.cast(list, DDC$RT.type((List<dynamic> _) {
+_table.setRange(_tail, _tail + addCount, DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
}
-), DDC$RT.type((Iterable<E> _) {
+), DEVC$RT.type((Iterable<E> _) {
}
), "CastDynamic", """line 486, column 52 of dart:collection/queue.dart: """, list is Iterable<E>, false), 0);
_tail += addCount;
}
else {
int preSpace = addCount - endSpace;
- _table.setRange(_tail, _tail + endSpace, DDC$RT.cast(list, DDC$RT.type((List<dynamic> _) {
+ _table.setRange(_tail, _tail + endSpace, DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
}
-), DDC$RT.type((Iterable<E> _) {
+), DEVC$RT.type((Iterable<E> _) {
}
), "CastDynamic", """line 490, column 52 of dart:collection/queue.dart: """, list is Iterable<E>, false), 0);
- _table.setRange(0, preSpace, DDC$RT.cast(list, DDC$RT.type((List<dynamic> _) {
+ _table.setRange(0, preSpace, DEVC$RT.cast(list, DEVC$RT.type((List<dynamic> _) {
}
-), DDC$RT.type((Iterable<E> _) {
+), DEVC$RT.type((Iterable<E> _) {
}
), "CastDynamic", """line 491, column 40 of dart:collection/queue.dart: """, list is Iterable<E>, false), endSpace);
_tail = preSpace;
@@ -494,7 +494,7 @@ _queue._checkModification(_modificationCount);
_current = null;
return false;
}
- _current = ((__x32) => DDC$RT.cast(__x32, dynamic, E, "CastGeneral", """line 738, column 16 of dart:collection/queue.dart: """, __x32 is E, false))(_queue._table[_position]);
+ _current = ((__x32) => DEVC$RT.cast(__x32, dynamic, E, "CastGeneral", """line 738, column 16 of dart:collection/queue.dart: """, __x32 is E, false))(_queue._table[_position]);
_position = (_position + 1) & (_queue._table.length - 1);
return true;
}
« no previous file with comments | « test/dart_codegen/expect/collection/maps.dart ('k') | test/dart_codegen/expect/collection/set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698