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

Unified Diff: runtime/lib/core_patch.dart

Issue 1971193002: Patches to support Dart VM patch files in dart2js. (Closed) Base URL: sso://user/ahe/dart-sdk@master
Patch Set: Created 4 years, 6 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 | « runtime/lib/convert_patch.dart ('k') | runtime/lib/double_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/core_patch.dart
diff --git a/runtime/lib/core_patch.dart b/runtime/lib/core_patch.dart
index 13f75138101ec8e25f46e870ff97a32daafee9b7..1e90e1afb4e88d52f4e0a057b5a739ce69df6af5 100644
--- a/runtime/lib/core_patch.dart
+++ b/runtime/lib/core_patch.dart
@@ -24,11 +24,11 @@ class _EnumHelper {
// implement sync* generator functions. A sync* generator allocates
// and returns a new _SyncIterable object.
-typedef bool SyncGeneratorCallback(Iterator iterator);
+typedef bool _SyncGeneratorCallback(Iterator iterator);
class _SyncIterable extends IterableBase {
// moveNextFn is the closurized body of the generator function.
- final SyncGeneratorCallback moveNextFn;
+ final _SyncGeneratorCallback moveNextFn;
const _SyncIterable(this.moveNextFn);
@@ -41,7 +41,7 @@ class _SyncIterator implements Iterator {
bool isYieldEach; // Set by generated code for the yield* statement.
Iterator yieldEachIterator;
var _current; // Set by generated code for the yield and yield* statement.
- SyncGeneratorCallback moveNextFn;
+ _SyncGeneratorCallback moveNextFn;
get current => yieldEachIterator != null
? yieldEachIterator.current
« no previous file with comments | « runtime/lib/convert_patch.dart ('k') | runtime/lib/double_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698