Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: runtime/vm/code_patcher_arm.cc

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/constants_arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, 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/code_patcher.h" 8 #include "vm/code_patcher.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 void CodePatcher::GetStaticCallAt(uword return_address, 12 uword CodePatcher::GetStaticCallTargetAt(uword return_address) {
13 uword* target) {
14 UNIMPLEMENTED(); 13 UNIMPLEMENTED();
14 return 0;
15 } 15 }
16 16
17 17
18 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) { 18 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) {
19 UNIMPLEMENTED(); 19 UNIMPLEMENTED();
20 } 20 }
21 21
22 22
23 void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) { 23 void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) {
24 UNIMPLEMENTED(); 24 UNIMPLEMENTED();
25 } 25 }
26 26
27 27
28 void CodePatcher::InsertCallAt(uword start, uword target) {
29 UNIMPLEMENTED();
30 }
31
32
28 bool CodePatcher::IsDartCall(uword return_address) { 33 bool CodePatcher::IsDartCall(uword return_address) {
29 UNIMPLEMENTED(); 34 UNIMPLEMENTED();
30 return false; 35 return false;
31 } 36 }
32 37
33 38
34 void CodePatcher::GetInstanceCallAt(uword return_address, 39 uword CodePatcher::GetInstanceCallAt(uword return_address,
35 String* function_name, 40 ICData* ic_data,
36 int* num_arguments, 41 Array* arguments_descriptor) {
37 int* num_named_arguments,
38 uword* target) {
39 UNIMPLEMENTED(); 42 UNIMPLEMENTED();
43 return 0;
40 } 44 }
41 45
42 46
43 void CodePatcher::PatchEntry(const Code& code) { 47 intptr_t CodePatcher::InstanceCallSizeInBytes() {
44 UNIMPLEMENTED(); 48 UNIMPLEMENTED();
49 return 0;
45 } 50 }
46 51
47
48 void CodePatcher::RestoreEntry(const Code& code) {
49 UNIMPLEMENTED();
50 }
51
52
53 bool CodePatcher::CodeIsPatchable(const Code& code) {
54 UNIMPLEMENTED();
55 return false;
56 }
57
58
59 RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) {
60 UNIMPLEMENTED();
61 return NULL;
62 }
63
64
65
66 void CodePatcher::InsertCallAt(uword start, uword target) {
67 UNIMPLEMENTED();
68 }
69
70
71
72 } // namespace dart 52 } // namespace dart
73 53
74 #endif // defined TARGET_ARCH_ARM 54 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/constants_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698