| 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 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 __ movq(R10, FieldAddress(R10, Class::super_type_offset())); | 1776 __ movq(R10, FieldAddress(R10, Class::super_type_offset())); |
| 1777 // The supertype of Object is a null object. | 1777 // The supertype of Object is a null object. |
| 1778 __ cmpq(R10, raw_null); | 1778 __ cmpq(R10, raw_null); |
| 1779 __ j(EQUAL, ¬_found, Assembler::kNearJump); | 1779 __ j(EQUAL, ¬_found, Assembler::kNearJump); |
| 1780 __ movq(R10, FieldAddress(R10, Type::type_class_offset())); | 1780 __ movq(R10, FieldAddress(R10, Type::type_class_offset())); |
| 1781 __ cmpq(RCX, R10); | 1781 __ cmpq(RCX, R10); |
| 1782 __ j(NOT_EQUAL, &super_loop, Assembler::kNearJump); | 1782 __ j(NOT_EQUAL, &super_loop, Assembler::kNearJump); |
| 1783 __ jmp(&found, Assembler::kNearJump); | 1783 __ jmp(&found, Assembler::kNearJump); |
| 1784 } | 1784 } |
| 1785 | 1785 |
| 1786 |
| 1787 void StubCode::GenerateSubtypeTestCacheStub(Assembler* assembler) { |
| 1788 __ Unimplemented("SubtypeTestCache Stub"); |
| 1789 } |
| 1790 |
| 1786 } // namespace dart | 1791 } // namespace dart |
| 1787 | 1792 |
| 1788 #endif // defined TARGET_ARCH_X64 | 1793 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |