| 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 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
| 7 | 7 |
| 8 #include "vm/code_generator.h" | 8 #include "vm/code_generator.h" |
| 9 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 10 #include "vm/object_store.h" | 10 #include "vm/object_store.h" |
| (...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1797 // The supertype of Object is a null object. | 1797 // The supertype of Object is a null object. |
| 1798 __ cmpq(R10, raw_null); | 1798 __ cmpq(R10, raw_null); |
| 1799 __ j(EQUAL, ¬_found, Assembler::kNearJump); | 1799 __ j(EQUAL, ¬_found, Assembler::kNearJump); |
| 1800 __ movq(R10, FieldAddress(R10, Type::type_class_offset())); | 1800 __ movq(R10, FieldAddress(R10, Type::type_class_offset())); |
| 1801 __ cmpq(RCX, R10); | 1801 __ cmpq(RCX, R10); |
| 1802 __ j(NOT_EQUAL, &super_loop, Assembler::kNearJump); | 1802 __ j(NOT_EQUAL, &super_loop, Assembler::kNearJump); |
| 1803 __ jmp(&found, Assembler::kNearJump); | 1803 __ jmp(&found, Assembler::kNearJump); |
| 1804 } | 1804 } |
| 1805 | 1805 |
| 1806 | 1806 |
| 1807 void StubCode::GenerateSubtypeTestCacheStub(Assembler* assembler) { | 1807 void StubCode::GenerateSubtype1TestCacheStub(Assembler* assembler) { |
| 1808 __ Unimplemented("SubtypeTestCache Stub"); | 1808 __ Unimplemented("Subtype1TestCache Stub"); |
| 1809 } |
| 1810 |
| 1811 void StubCode::GenerateSubtype2TestCacheStub(Assembler* assembler) { |
| 1812 __ Unimplemented("Subtype2TestCache Stub"); |
| 1813 } |
| 1814 |
| 1815 void StubCode::GenerateSubtype3TestCacheStub(Assembler* assembler) { |
| 1816 __ Unimplemented("Subtype3TestCache Stub"); |
| 1809 } | 1817 } |
| 1810 | 1818 |
| 1811 } // namespace dart | 1819 } // namespace dart |
| 1812 | 1820 |
| 1813 #endif // defined TARGET_ARCH_X64 | 1821 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |