| 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 #include "include/dart_mirrors_api.h" | 5 #include "include/dart_mirrors_api.h" |
| 6 #include "include/dart_tools_api.h" | 6 #include "include/dart_tools_api.h" |
| 7 #include "platform/assert.h" | 7 #include "platform/assert.h" |
| 8 #include "vm/dart_api_impl.h" | 8 #include "vm/dart_api_impl.h" |
| 9 #include "vm/lockers.h" | 9 #include "vm/lockers.h" |
| 10 #include "vm/unit_test.h" | 10 #include "vm/unit_test.h" |
| 11 | 11 |
| 12 namespace dart { | 12 namespace dart { |
| 13 | 13 |
| 14 DECLARE_FLAG(bool, background_compilation); |
| 15 DECLARE_FLAG(int, optimization_counter_threshold); |
| 16 DECLARE_FLAG(bool, use_osr); |
| 14 DECLARE_FLAG(bool, trace_shutdown); | 17 DECLARE_FLAG(bool, trace_shutdown); |
| 15 | 18 |
| 16 #ifndef PRODUCT | 19 #ifndef PRODUCT |
| 17 | 20 |
| 18 static bool breakpoint_hit = false; | 21 static bool breakpoint_hit = false; |
| 19 static int breakpoint_hit_counter = 0; | 22 static int breakpoint_hit_counter = 0; |
| 20 static Dart_Handle script_lib = NULL; | 23 static Dart_Handle script_lib = NULL; |
| 21 | 24 |
| 22 static const bool verbose = true; | 25 static const bool verbose = true; |
| 23 | 26 |
| (...skipping 2306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2330 " null, 5, 17, 5, 18, 9, 19, 12," | 2333 " null, 5, 17, 5, 18, 9, 19, 12," |
| 2331 " null, 6, 21, 1," | 2334 " null, 6, 21, 1," |
| 2332 " null, 8, 24, 1, 25, 5, 26, 6, 27, 8," | 2335 " null, 8, 24, 1, 25, 5, 26, 6, 27, 8," |
| 2333 " null, 9, 29, 1]", | 2336 " null, 9, 29, 1]", |
| 2334 tokens_cstr); | 2337 tokens_cstr); |
| 2335 } | 2338 } |
| 2336 | 2339 |
| 2337 #endif | 2340 #endif |
| 2338 | 2341 |
| 2339 } // namespace dart | 2342 } // namespace dart |
| OLD | NEW |