| OLD | NEW |
| 1 // Copyright (c) 2011, 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 <stdint.h> |
| 6 #include <stdio.h> | 6 #include <stdio.h> |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include "vm/gdbjit_linux.h" | 9 #include "vm/gdbjit_android.h" |
| 10 | 10 |
| 11 extern "C" { | 11 extern "C" { |
| 12 typedef enum { | 12 typedef enum { |
| 13 JIT_NOACTION = 0, | 13 JIT_NOACTION = 0, |
| 14 JIT_REGISTER_FN, | 14 JIT_REGISTER_FN, |
| 15 JIT_UNREGISTER_FN | 15 JIT_UNREGISTER_FN |
| 16 } jit_actions_t; | 16 } jit_actions_t; |
| 17 | 17 |
| 18 struct jit_code_entry { | 18 struct jit_code_entry { |
| 19 struct jit_code_entry *next_entry; | 19 struct jit_code_entry *next_entry; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 __jit_debug_descriptor.action_flag = JIT_UNREGISTER_FN; | 68 __jit_debug_descriptor.action_flag = JIT_UNREGISTER_FN; |
| 69 __jit_debug_descriptor.relevant_entry = iterator; | 69 __jit_debug_descriptor.relevant_entry = iterator; |
| 70 __jit_debug_descriptor.first_entry = first_dynamic_region; | 70 __jit_debug_descriptor.first_entry = first_dynamic_region; |
| 71 __jit_debug_register_code(); | 71 __jit_debug_register_code(); |
| 72 iterator = iterator->prev_entry; | 72 iterator = iterator->prev_entry; |
| 73 } | 73 } |
| 74 first_dynamic_region = NULL; | 74 first_dynamic_region = NULL; |
| 75 last_dynamic_region = NULL; | 75 last_dynamic_region = NULL; |
| 76 } | 76 } |
| 77 }; | 77 }; |
| OLD | NEW |