| 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 #include "vm/bootstrap_natives.h" | 5 #include "vm/bootstrap_natives.h" |
| 6 | 6 |
| 7 #include "lib/invocation_mirror.h" | 7 #include "lib/invocation_mirror.h" |
| 8 #include "vm/code_patcher.h" | 8 #include "vm/code_patcher.h" |
| 9 #include "vm/exceptions.h" | 9 #include "vm/exceptions.h" |
| 10 #include "vm/heap.h" | 10 #include "vm/heap.h" |
| 11 #include "vm/native_entry.h" | 11 #include "vm/native_entry.h" |
| 12 #include "vm/object.h" | 12 #include "vm/object.h" |
| 13 #include "vm/report.h" | |
| 14 #include "vm/stack_frame.h" | 13 #include "vm/stack_frame.h" |
| 15 #include "vm/symbols.h" | 14 #include "vm/symbols.h" |
| 16 | 15 |
| 17 namespace dart { | 16 namespace dart { |
| 18 | 17 |
| 19 DECLARE_FLAG(bool, trace_type_checks); | 18 DECLARE_FLAG(bool, trace_type_checks); |
| 20 | 19 |
| 21 // Helper function in stacktrace.cc. | 20 // Helper function in stacktrace.cc. |
| 22 void _printCurrentStacktrace(); | 21 void _printCurrentStacktrace(); |
| 23 | 22 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 336 |
| 338 DEFINE_NATIVE_ENTRY(Internal_inquireIs64Bit, 0) { | 337 DEFINE_NATIVE_ENTRY(Internal_inquireIs64Bit, 0) { |
| 339 #if defined(ARCH_IS_64_BIT) | 338 #if defined(ARCH_IS_64_BIT) |
| 340 return Bool::True().raw(); | 339 return Bool::True().raw(); |
| 341 #else | 340 #else |
| 342 return Bool::False().raw(); | 341 return Bool::False().raw(); |
| 343 #endif // defined(ARCH_IS_64_BIT) | 342 #endif // defined(ARCH_IS_64_BIT) |
| 344 } | 343 } |
| 345 | 344 |
| 346 } // namespace dart | 345 } // namespace dart |
| OLD | NEW |