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 <stdint.h> | 5 #include "vm/globals.h" |
6 #include <stdio.h> | 6 #if defined(TARGET_OS_ANDROID) |
7 #include <stdlib.h> | 7 |
| 8 #include <stdint.h> // NOLINT |
| 9 #include <stdio.h> // NOLINT |
| 10 #include <stdlib.h> // NOLINT |
8 | 11 |
9 #include "vm/gdbjit_android.h" | 12 #include "vm/gdbjit_android.h" |
10 | 13 |
11 extern "C" { | 14 extern "C" { |
12 typedef enum { | 15 typedef enum { |
13 JIT_NOACTION = 0, | 16 JIT_NOACTION = 0, |
14 JIT_REGISTER_FN, | 17 JIT_REGISTER_FN, |
15 JIT_UNREGISTER_FN | 18 JIT_UNREGISTER_FN |
16 } jit_actions_t; | 19 } jit_actions_t; |
17 | 20 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 __jit_debug_descriptor.action_flag = JIT_UNREGISTER_FN; | 73 __jit_debug_descriptor.action_flag = JIT_UNREGISTER_FN; |
71 __jit_debug_descriptor.relevant_entry = iterator; | 74 __jit_debug_descriptor.relevant_entry = iterator; |
72 __jit_debug_descriptor.first_entry = first_dynamic_region; | 75 __jit_debug_descriptor.first_entry = first_dynamic_region; |
73 __jit_debug_register_code(); | 76 __jit_debug_register_code(); |
74 iterator = iterator->prev_entry; | 77 iterator = iterator->prev_entry; |
75 } | 78 } |
76 first_dynamic_region = NULL; | 79 first_dynamic_region = NULL; |
77 last_dynamic_region = NULL; | 80 last_dynamic_region = NULL; |
78 } | 81 } |
79 }; | 82 }; |
| 83 |
| 84 #endif // defined(TARGET_OS_ANDROID) |
OLD | NEW |