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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart

Issue 12609004: Change all File APIs to make the mode and encoding arguments named (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments and changed other use places Created 7 years, 9 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: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
index b2d7a070d9574b7961cb2fbe88420731709914bb..bb1044ba921176662440a38fb4a596443c7aa823 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -20,8 +20,9 @@ class HTracer extends HGraphVisitor implements Tracer {
bool traceActive = false;
HTracer([String path = "dart.cfg"])
- : output = GENERATE_SSA_TRACE ? new File(path).openSync(FileMode.WRITE)
- : null;
+ : output = GENERATE_SSA_TRACE
+ ? new File(path).openSync(mode: FileMode.WRITE)
+ : null;
void close() {
if (enabled) output.closeSync();

Powered by Google App Engine
This is Rietveld 408576698