Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: runtime/vm/gdbjit_android.cc

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporate review feedback from cshapiro Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698