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" // Needed here to get TARGET_ARCH_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
7 | 7 |
8 #include "vm/instructions.h" | 8 #include "vm/instructions.h" |
9 #include "vm/instructions_ia32.h" | 9 #include "vm/instructions_ia32.h" |
10 | 10 |
11 #include "vm/cpu.h" | 11 #include "vm/cpu.h" |
12 #include "vm/object.h" | 12 #include "vm/object.h" |
13 | 13 |
14 namespace dart { | 14 namespace dart { |
15 | 15 |
16 bool DecodeLoadObjectFromPoolOrThread(uword pc, | 16 bool DecodeLoadObjectFromPoolOrThread(uword pc, const Code& code, Object* obj) { |
17 const Code& code, | |
18 Object* obj) { | |
19 ASSERT(code.ContainsInstructionAt(pc)); | 17 ASSERT(code.ContainsInstructionAt(pc)); |
20 return false; | 18 return false; |
21 } | 19 } |
22 | 20 |
23 } // namespace dart | 21 } // namespace dart |
24 | 22 |
25 #endif // defined TARGET_ARCH_IA32 | 23 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |