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

Side by Side Diff: runtime/vm/flags.h

Issue 10854224: Sort the Dart vm flags before printing them out with the --print-flags option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/flags.cc » ('j') | runtime/vm/flags.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_FLAGS_H_ 5 #ifndef VM_FLAGS_H_
6 #define VM_FLAGS_H_ 6 #define VM_FLAGS_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 static bool Initialized() { return initialized_; } 67 static bool Initialized() { return initialized_; }
68 68
69 private: 69 private:
70 static Flag* flags_; 70 static Flag* flags_;
71 71
72 static bool initialized_; 72 static bool initialized_;
73 73
74 static void Parse(const char* option); 74 static void Parse(const char* option);
75 75
76 static int CompareFlagNames(const void* left, const void* right);
77
78 static void PrintFlags();
79
76 // Testing needs direct access to private methods. 80 // Testing needs direct access to private methods.
77 friend void Dart_TestParseFlags(); 81 friend void Dart_TestParseFlags();
78 82
79 DISALLOW_ALLOCATION(); 83 DISALLOW_ALLOCATION();
80 DISALLOW_IMPLICIT_CONSTRUCTORS(Flags); 84 DISALLOW_IMPLICIT_CONSTRUCTORS(Flags);
81 }; 85 };
82 86
83 } // namespace dart 87 } // namespace dart
84 88
85 #endif // VM_FLAGS_H_ 89 #endif // VM_FLAGS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flags.cc » ('j') | runtime/vm/flags.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698