OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 #ifndef VM_RUNTIME_ENTRY_H_ | 5 #ifndef RUNTIME_VM_RUNTIME_ENTRY_H_ |
6 #define VM_RUNTIME_ENTRY_H_ | 6 #define RUNTIME_VM_RUNTIME_ENTRY_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/flags.h" | 9 #include "vm/flags.h" |
10 #include "vm/native_arguments.h" | 10 #include "vm/native_arguments.h" |
11 #include "vm/runtime_entry_list.h" | 11 #include "vm/runtime_entry_list.h" |
12 #include "vm/safepoint.h" | 12 #include "vm/safepoint.h" |
13 #include "vm/tags.h" | 13 #include "vm/tags.h" |
14 | 14 |
15 namespace dart { | 15 namespace dart { |
16 | 16 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 #define CHECK_LEAF_RUNTIME_ADDRESS(type, name, ...) \ | 180 #define CHECK_LEAF_RUNTIME_ADDRESS(type, name, ...) \ |
181 if (address == k##name##RuntimeEntry.GetEntryPoint()) return k##name##Id; | 181 if (address == k##name##RuntimeEntry.GetEntryPoint()) return k##name##Id; |
182 LEAF_RUNTIME_ENTRY_LIST(CHECK_LEAF_RUNTIME_ADDRESS) | 182 LEAF_RUNTIME_ENTRY_LIST(CHECK_LEAF_RUNTIME_ADDRESS) |
183 #undef CHECK_LEAF_RUNTIME_ADDRESS | 183 #undef CHECK_LEAF_RUNTIME_ADDRESS |
184 return kNoRuntimeFunctionId; | 184 return kNoRuntimeFunctionId; |
185 } | 185 } |
186 | 186 |
187 } // namespace dart | 187 } // namespace dart |
188 | 188 |
189 #endif // VM_RUNTIME_ENTRY_H_ | 189 #endif // RUNTIME_VM_RUNTIME_ENTRY_H_ |
OLD | NEW |