| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 <math.h> // for isnan. | 5 #include <math.h> // for isnan. |
| 6 #include <setjmp.h> | 6 #include <setjmp.h> |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 #include <pthread.h> | |
| 9 | 8 |
| 10 #include "vm/globals.h" | 9 #include "vm/globals.h" |
| 11 #if defined(TARGET_ARCH_ARM) | 10 #if defined(TARGET_ARCH_ARM) |
| 12 | 11 |
| 13 // Only build the simulator if not compiling for real ARM hardware. | 12 // Only build the simulator if not compiling for real ARM hardware. |
| 14 #if !defined(HOST_ARCH_ARM) | 13 #if !defined(HOST_ARCH_ARM) |
| 15 | 14 |
| 16 #include "vm/simulator.h" | 15 #include "vm/simulator.h" |
| 17 | 16 |
| 18 #include "vm/assembler.h" | 17 #include "vm/assembler.h" |
| (...skipping 2712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2731 // isolate->ChangeStateToGeneratedCode(); | 2730 // isolate->ChangeStateToGeneratedCode(); |
| 2732 set_register(kExceptionObjectReg, bit_cast<int32_t>(object.raw())); | 2731 set_register(kExceptionObjectReg, bit_cast<int32_t>(object.raw())); |
| 2733 buf->Longjmp(); | 2732 buf->Longjmp(); |
| 2734 } | 2733 } |
| 2735 | 2734 |
| 2736 } // namespace dart | 2735 } // namespace dart |
| 2737 | 2736 |
| 2738 #endif // !defined(HOST_ARCH_ARM) | 2737 #endif // !defined(HOST_ARCH_ARM) |
| 2739 | 2738 |
| 2740 #endif // defined TARGET_ARCH_ARM | 2739 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |