| OLD | NEW |
| 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 BIN_PLATFORM_H_ | 5 #ifndef RUNTIME_BIN_PLATFORM_H_ |
| 6 #define BIN_PLATFORM_H_ | 6 #define RUNTIME_BIN_PLATFORM_H_ |
| 7 | 7 |
| 8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
| 9 #include "platform/globals.h" | 9 #include "platform/globals.h" |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 namespace bin { | 12 namespace bin { |
| 13 | 13 |
| 14 class Platform { | 14 class Platform { |
| 15 public: | 15 public: |
| 16 // Perform platform specific initialization. | 16 // Perform platform specific initialization. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 static int script_index_; | 100 static int script_index_; |
| 101 static char** argv_; // VM flags are argv_[1 ... script_index_ - 1] | 101 static char** argv_; // VM flags are argv_[1 ... script_index_ - 1] |
| 102 | 102 |
| 103 DISALLOW_ALLOCATION(); | 103 DISALLOW_ALLOCATION(); |
| 104 DISALLOW_IMPLICIT_CONSTRUCTORS(Platform); | 104 DISALLOW_IMPLICIT_CONSTRUCTORS(Platform); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace bin | 107 } // namespace bin |
| 108 } // namespace dart | 108 } // namespace dart |
| 109 | 109 |
| 110 #endif // BIN_PLATFORM_H_ | 110 #endif // RUNTIME_BIN_PLATFORM_H_ |
| OLD | NEW |