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 "platform/assert.h" |
5 #include "vm/globals.h" | 6 #include "vm/globals.h" |
6 #if defined(TARGET_ARCH_IA32) | 7 #if defined(TARGET_ARCH_IA32) |
7 | 8 |
8 #include "vm/code_generator.h" | |
9 | |
10 #include "vm/ast.h" | 9 #include "vm/ast.h" |
11 #include "vm/assembler.h" | 10 #include "vm/assembler.h" |
12 #include "vm/assert.h" | |
13 #include "vm/class_finalizer.h" | 11 #include "vm/class_finalizer.h" |
| 12 #include "vm/code_generator.h" |
14 #include "vm/compiler.h" | 13 #include "vm/compiler.h" |
15 #include "vm/dart_entry.h" | 14 #include "vm/dart_entry.h" |
16 #include "vm/native_entry.h" | 15 #include "vm/native_entry.h" |
17 #include "vm/native_entry_test.h" | 16 #include "vm/native_entry_test.h" |
18 #include "vm/unit_test.h" | 17 #include "vm/unit_test.h" |
19 #include "vm/virtual_memory.h" | 18 #include "vm/virtual_memory.h" |
20 | 19 |
21 namespace dart { | 20 namespace dart { |
22 | 21 |
23 #define __ assembler_-> | 22 #define __ assembler_-> |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 const Library& app_lib = Library::Handle( | 490 const Library& app_lib = Library::Handle( |
492 Isolate::Current()->object_store()->registered_libraries()); | 491 Isolate::Current()->object_store()->registered_libraries()); |
493 const Class& cls = Class::Handle( | 492 const Class& cls = Class::Handle( |
494 app_lib.LookupClass(String::Handle(String::NewSymbol("A")))); | 493 app_lib.LookupClass(String::Handle(String::NewSymbol("A")))); |
495 EXPECT_EQ(cls.raw(), result.clazz()); | 494 EXPECT_EQ(cls.raw(), result.clazz()); |
496 } | 495 } |
497 | 496 |
498 } // namespace dart | 497 } // namespace dart |
499 | 498 |
500 #endif // defined TARGET_ARCH_IA32 | 499 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |