| 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" | 8 #include "vm/instructions.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 | 12 |
| 13 bool InstructionPattern::TestBytesWith(const int* data, int num_bytes) const { | 13 bool InstructionPattern::TestBytesWith(const int* data, int num_bytes) const { |
| 14 UNIMPLEMENTED(); | 14 UNIMPLEMENTED(); |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| 18 | 18 |
| 19 uword CallOrJumpPattern::TargetAddress() const { | 19 uword CallPattern::TargetAddress() const { |
| 20 UNIMPLEMENTED(); | 20 UNIMPLEMENTED(); |
| 21 return 0; | 21 return 0; |
| 22 } | 22 } |
| 23 | 23 |
| 24 | 24 |
| 25 void CallOrJumpPattern::SetTargetAddress(uword target) const { | 25 uword JumpPattern::TargetAddress() const { |
| 26 UNIMPLEMENTED(); |
| 27 return 0; |
| 28 } |
| 29 |
| 30 |
| 31 |
| 32 void CallPattern::SetTargetAddress(uword target) const { |
| 26 UNIMPLEMENTED(); | 33 UNIMPLEMENTED(); |
| 27 } | 34 } |
| 28 | 35 |
| 29 | 36 |
| 37 void JumpPattern::SetTargetAddress(uword target) const { |
| 38 UNIMPLEMENTED(); |
| 39 } |
| 40 |
| 41 |
| 42 |
| 30 const int* CallPattern::pattern() const { | 43 const int* CallPattern::pattern() const { |
| 31 UNIMPLEMENTED(); | 44 UNIMPLEMENTED(); |
| 32 return NULL; | 45 return NULL; |
| 33 } | 46 } |
| 34 | 47 |
| 35 | 48 |
| 36 const int* JumpPattern::pattern() const { | 49 const int* JumpPattern::pattern() const { |
| 37 UNIMPLEMENTED(); | 50 UNIMPLEMENTED(); |
| 38 return NULL; | 51 return NULL; |
| 39 } | 52 } |
| 40 | 53 |
| 41 } // namespace dart | 54 } // namespace dart |
| 42 | 55 |
| 43 #endif // defined TARGET_ARCH_ARM | 56 #endif // defined TARGET_ARCH_ARM |
| 44 | 57 |
| OLD | NEW |