| 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 1711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 // Find out which dispatch stub to call. | 1722 // Find out which dispatch stub to call. |
| 1723 Label ic_cache_one_arg; | 1723 Label ic_cache_one_arg; |
| 1724 __ movq(RCX, FieldAddress(RBX, ICData::num_args_tested_offset())); | 1724 __ movq(RCX, FieldAddress(RBX, ICData::num_args_tested_offset())); |
| 1725 __ cmpq(RCX, Immediate(1)); | 1725 __ cmpq(RCX, Immediate(1)); |
| 1726 __ j(EQUAL, &ic_cache_one_arg, Assembler::kNearJump); | 1726 __ j(EQUAL, &ic_cache_one_arg, Assembler::kNearJump); |
| 1727 __ jmp(&StubCode::TwoArgsCheckInlineCacheLabel()); | 1727 __ jmp(&StubCode::TwoArgsCheckInlineCacheLabel()); |
| 1728 __ Bind(&ic_cache_one_arg); | 1728 __ Bind(&ic_cache_one_arg); |
| 1729 __ jmp(&StubCode::OneArgCheckInlineCacheLabel()); | 1729 __ jmp(&StubCode::OneArgCheckInlineCacheLabel()); |
| 1730 } | 1730 } |
| 1731 | 1731 |
| 1732 |
| 1733 void StubCode::GenerateIsRawSubTypeStub(Assembler* assembler) { |
| 1734 __ Unimplemented("IsRawSubType Stub"); |
| 1735 } |
| 1736 |
| 1732 } // namespace dart | 1737 } // namespace dart |
| 1733 | 1738 |
| 1734 #endif // defined TARGET_ARCH_X64 | 1739 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |