OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 "vm/bootstrap_natives.h" | 5 #include "vm/bootstrap_natives.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 | 8 |
9 #include "vm/bigint_operations.h" | |
10 #include "vm/exceptions.h" | 9 #include "vm/exceptions.h" |
11 #include "vm/native_entry.h" | 10 #include "vm/native_entry.h" |
12 #include "vm/object.h" | 11 #include "vm/object.h" |
13 #include "vm/object_store.h" | 12 #include "vm/object_store.h" |
14 | 13 |
15 namespace dart { | 14 namespace dart { |
16 | 15 |
17 DECLARE_FLAG(bool, trace_intrinsified_natives); | 16 DECLARE_FLAG(bool, trace_intrinsified_natives); |
18 | 17 |
19 // dart:profiler. | 18 // dart:profiler. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 51 |
53 DEFINE_NATIVE_ENTRY(Profiler_getCurrentTag, 0) { | 52 DEFINE_NATIVE_ENTRY(Profiler_getCurrentTag, 0) { |
54 if (FLAG_trace_intrinsified_natives) { | 53 if (FLAG_trace_intrinsified_natives) { |
55 OS::Print("Profiler_getCurrentTag\n"); | 54 OS::Print("Profiler_getCurrentTag\n"); |
56 } | 55 } |
57 return isolate->current_tag(); | 56 return isolate->current_tag(); |
58 } | 57 } |
59 | 58 |
60 | 59 |
61 } // namespace dart | 60 } // namespace dart |
OLD | NEW |