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

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
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 void CodePatcher::PatchStaticCallAt(uword addr, uword new_target_address) {
13 uword* target) {
14 UNIMPLEMENTED(); 13 UNIMPLEMENTED();
15 } 14 }
16 15
17 16
18 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) { 17 void CodePatcher::PatchInstanceCallAt(uword addr, uword new_target_address) {
19 UNIMPLEMENTED();
20 }
21
22
23 void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) {
24 UNIMPLEMENTED();
25 }
26
27
28 bool CodePatcher::IsDartCall(uword return_address) {
29 UNIMPLEMENTED();
30 return false;
31 }
32
33
34 void CodePatcher::GetInstanceCallAt(uword return_address,
35 String* function_name,
36 int* num_arguments,
37 int* num_named_arguments,
38 uword* target) {
39 UNIMPLEMENTED(); 18 UNIMPLEMENTED();
40 } 19 }
41 20
42 21
43 void CodePatcher::PatchEntry(const Code& code) { 22 void CodePatcher::PatchEntry(const Code& code) {
44 UNIMPLEMENTED(); 23 UNIMPLEMENTED();
45 } 24 }
46 25
47 26
48 void CodePatcher::RestoreEntry(const Code& code) { 27 void CodePatcher::RestoreEntry(const Code& code) {
49 UNIMPLEMENTED(); 28 UNIMPLEMENTED();
50 } 29 }
51 30
52 31
53 bool CodePatcher::CodeIsPatchable(const Code& code) { 32 bool CodePatcher::CodeIsPatchable(const Code& code) {
54 UNIMPLEMENTED(); 33 UNIMPLEMENTED();
55 return false; 34 return false;
56 } 35 }
57 36
58 37
59 RawICData* CodePatcher::GetInstanceCallIcDataAt(uword return_address) { 38 bool CodePatcher::IsDartCall(uword return_address) {
60 UNIMPLEMENTED(); 39 UNIMPLEMENTED();
61 return NULL; 40 return false;
62 } 41 }
63 42
64 43
44 uword CodePatcher::GetStaticCallTargetAt(uword return_address) {
45 UNIMPLEMENTED();
46 return 0;
47 }
48
49
50 uword CodePatcher::GetInstanceCallAt(uword return_address,
51 ICData* ic_data,
52 Array* arguments_descriptor) {
53 UNIMPLEMENTED();
54 return 0;
55 }
56
57
58 intptr_t CodePatcher::InstanceCallSizeInBytes() {
59 UNIMPLEMENTED();
60 return 0;
61 }
62
65 63
66 void CodePatcher::InsertCallAt(uword start, uword target) { 64 void CodePatcher::InsertCallAt(uword start, uword target) {
67 UNIMPLEMENTED(); 65 UNIMPLEMENTED();
68 } 66 }
69 67
70
71
72 } // namespace dart 68 } // namespace dart
73 69
74 #endif // defined TARGET_ARCH_ARM 70 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698