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

Unified Diff: test/dart_codegen/expect/core/stopwatch.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (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/core/regexp.dart ('k') | test/dart_codegen/expect/core/string.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/stopwatch.dart
diff --git a/test/dart_codegen/expect/core/stopwatch.dart b/test/dart_codegen/expect/core/stopwatch.dart
index a0362784264c4302ecdd3f307e7e59b4c295ac5f..eb4b0f606ed9c197d8bad2177d8d905cc21d2875 100644
--- a/test/dart_codegen/expect/core/stopwatch.dart
+++ b/test/dart_codegen/expect/core/stopwatch.dart
@@ -46,13 +46,13 @@ class Stopwatch {
}
bool get isRunning => _start != null && _stop == null;
static int _frequency;
- @patch static void _initTicker() {
+ static void _initTicker() {
Primitives.initTicker();
_frequency = DDC$RT.cast(Primitives.timerFrequency, dynamic, int,
- "CastGeneral", """line 140, column 18 of dart:core/stopwatch.dart: """,
+ "CastGeneral", """line 143, column 18 of dart:core/stopwatch.dart: """,
Primitives.timerFrequency is int, true);
}
- @patch static int _now() => ((__x35) => DDC$RT.cast(__x35, dynamic, int,
- "CastGeneral", """line 143, column 24 of dart:core/stopwatch.dart: """,
+ static int _now() => ((__x35) => DDC$RT.cast(__x35, dynamic, int,
+ "CastGeneral", """line 145, column 24 of dart:core/stopwatch.dart: """,
__x35 is int, true))(Primitives.timerTicks());
}
« no previous file with comments | « test/dart_codegen/expect/core/regexp.dart ('k') | test/dart_codegen/expect/core/string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698