OLD | NEW |
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 "include/dart_api.h" | 5 #include "include/dart_api.h" |
6 | 6 #include "platform/assert.h" |
7 #include "vm/assert.h" | |
8 #include "vm/dart_api_impl.h" | 7 #include "vm/dart_api_impl.h" |
9 #include "vm/dart_api_state.h" | 8 #include "vm/dart_api_state.h" |
10 #include "vm/thread.h" | 9 #include "vm/thread.h" |
11 #include "vm/unit_test.h" | 10 #include "vm/unit_test.h" |
12 #include "vm/utils.h" | 11 #include "vm/utils.h" |
13 #include "vm/verifier.h" | 12 #include "vm/verifier.h" |
14 | 13 |
15 namespace dart { | 14 namespace dart { |
16 | 15 |
17 #if defined(TARGET_ARCH_IA32) // only ia32 can run execution tests. | 16 #if defined(TARGET_ARCH_IA32) // only ia32 can run execution tests. |
(...skipping 2984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3002 // We should have received the expected number of interrupts. | 3001 // We should have received the expected number of interrupts. |
3003 EXPECT_EQ(kInterruptCount, interrupt_count); | 3002 EXPECT_EQ(kInterruptCount, interrupt_count); |
3004 | 3003 |
3005 // Give the spawned thread enough time to properly exit. | 3004 // Give the spawned thread enough time to properly exit. |
3006 Isolate::SetInterruptCallback(saved); | 3005 Isolate::SetInterruptCallback(saved); |
3007 } | 3006 } |
3008 | 3007 |
3009 #endif // TARGET_ARCH_IA32. | 3008 #endif // TARGET_ARCH_IA32. |
3010 | 3009 |
3011 } // namespace dart | 3010 } // namespace dart |
OLD | NEW |