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