| 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 #ifndef VM_OBJECT_H_ | 5 #ifndef VM_OBJECT_H_ |
| 6 #define VM_OBJECT_H_ | 6 #define VM_OBJECT_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "platform/utils.h" | 10 #include "platform/utils.h" |
| 11 #include "vm/json_stream.h" | 11 #include "vm/json_stream.h" |
| 12 #include "vm/bitmap.h" | 12 #include "vm/bitmap.h" |
| 13 #include "vm/dart.h" | 13 #include "vm/dart.h" |
| 14 #include "vm/globals.h" | 14 #include "vm/globals.h" |
| 15 #include "vm/handles.h" | 15 #include "vm/handles.h" |
| 16 #include "vm/heap.h" | 16 #include "vm/heap.h" |
| 17 #include "vm/isolate.h" | 17 #include "vm/isolate.h" |
| 18 #include "vm/method_recognizer.h" | 18 #include "vm/method_recognizer.h" |
| 19 #include "vm/os.h" | 19 #include "vm/os.h" |
| 20 #include "vm/raw_object.h" | 20 #include "vm/raw_object.h" |
| 21 #include "vm/report.h" | 21 #include "vm/report.h" |
| 22 #include "vm/scanner.h" | 22 #include "vm/scanner.h" |
| 23 #include "vm/tags.h" | 23 #include "vm/tags.h" |
| 24 #include "vm/thread.h" | 24 #include "vm/thread.h" |
| 25 #include "vm/verified_memory.h" | 25 #include "vm/verified_memory.h" |
| 26 | 26 |
| 27 namespace dart { | 27 namespace dart { |
| 28 | 28 |
| 29 DECLARE_FLAG(bool, use_jscre); | |
| 30 | |
| 31 // Forward declarations. | 29 // Forward declarations. |
| 32 #define DEFINE_FORWARD_DECLARATION(clazz) \ | 30 #define DEFINE_FORWARD_DECLARATION(clazz) \ |
| 33 class clazz; | 31 class clazz; |
| 34 CLASS_LIST(DEFINE_FORWARD_DECLARATION) | 32 CLASS_LIST(DEFINE_FORWARD_DECLARATION) |
| 35 #undef DEFINE_FORWARD_DECLARATION | 33 #undef DEFINE_FORWARD_DECLARATION |
| 36 class Api; | 34 class Api; |
| 37 class ArgumentsDescriptor; | 35 class ArgumentsDescriptor; |
| 38 class Assembler; | 36 class Assembler; |
| 39 class Closure; | 37 class Closure; |
| 40 class Code; | 38 class Code; |
| (...skipping 7731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7772 | 7770 |
| 7773 | 7771 |
| 7774 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, | 7772 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, |
| 7775 intptr_t index) { | 7773 intptr_t index) { |
| 7776 return array.At((index * kEntryLength) + kTargetFunctionIndex); | 7774 return array.At((index * kEntryLength) + kTargetFunctionIndex); |
| 7777 } | 7775 } |
| 7778 | 7776 |
| 7779 } // namespace dart | 7777 } // namespace dart |
| 7780 | 7778 |
| 7781 #endif // VM_OBJECT_H_ | 7779 #endif // VM_OBJECT_H_ |
| OLD | NEW |