| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/instructions.h" |
| 9 #include "vm/instructions_arm.h" |
| 10 |
| 8 #include "vm/assembler.h" | 11 #include "vm/assembler.h" |
| 9 #include "vm/constants_arm.h" | 12 #include "vm/constants_arm.h" |
| 10 #include "vm/cpu.h" | 13 #include "vm/cpu.h" |
| 11 #include "vm/instructions.h" | |
| 12 #include "vm/object.h" | 14 #include "vm/object.h" |
| 13 | 15 |
| 14 namespace dart { | 16 namespace dart { |
| 15 | 17 |
| 16 CallPattern::CallPattern(uword pc, const Code& code) | 18 CallPattern::CallPattern(uword pc, const Code& code) |
| 17 : object_pool_(ObjectPool::Handle(code.GetObjectPool())), | 19 : object_pool_(ObjectPool::Handle(code.GetObjectPool())), |
| 18 end_(pc), | 20 end_(pc), |
| 19 ic_data_load_end_(0), | 21 ic_data_load_end_(0), |
| 20 target_code_pool_index_(-1), | 22 target_code_pool_index_(-1), |
| 21 ic_data_(ICData::Handle()) { | 23 ic_data_(ICData::Handle()) { |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 } else { | 314 } else { |
| 313 ASSERT(version == ARMv7); | 315 ASSERT(version == ARMv7); |
| 314 return bx_lr->InstructionBits() == instruction; | 316 return bx_lr->InstructionBits() == instruction; |
| 315 } | 317 } |
| 316 return false; | 318 return false; |
| 317 } | 319 } |
| 318 | 320 |
| 319 } // namespace dart | 321 } // namespace dart |
| 320 | 322 |
| 321 #endif // defined TARGET_ARCH_ARM | 323 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |