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

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

Issue 8588014: Addition to CodePatcher (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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) 2011, 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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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::GetStaticCallAt(uword return_address,
13 Function* function, 13 Function* function,
14 uword* target) { 14 uword* target) {
15 UNIMPLEMENTED(); 15 UNIMPLEMENTED();
16 } 16 }
17 17
18 18
19 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) { 19 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) {
20 UNIMPLEMENTED(); 20 UNIMPLEMENTED();
21 } 21 }
22 22
23 23
24 bool CodePatcher::IsDartCall(uword return_address) {
25 UNIMPLEMENTED();
srdjan 2011/11/17 01:32:55 ditto
hausner 2011/11/17 16:33:02 Done.
26 }
27
28
24 void CodePatcher::GetInstanceCallAt(uword return_address, 29 void CodePatcher::GetInstanceCallAt(uword return_address,
25 String* function_name, 30 String* function_name,
26 int* num_arguments, 31 int* num_arguments,
27 int* num_named_arguments, 32 int* num_named_arguments,
28 uword* target) { 33 uword* target) {
29 UNIMPLEMENTED(); 34 UNIMPLEMENTED();
30 } 35 }
31 36
32 37
33 void CodePatcher::PatchEntry(const Code& code) { 38 void CodePatcher::PatchEntry(const Code& code) {
(...skipping 19 matching lines...) Expand all
53 58
54 59
55 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, 60 void CodePatcher::SetInstanceCallIcDataAt(uword return_address,
56 const Array& ic_data) { 61 const Array& ic_data) {
57 UNIMPLEMENTED(); 62 UNIMPLEMENTED();
58 } 63 }
59 64
60 } // namespace dart 65 } // namespace dart
61 66
62 #endif // defined TARGET_ARCH_X64 67 #endif // defined TARGET_ARCH_X64
OLDNEW
« runtime/vm/code_patcher_ia32.cc ('K') | « runtime/vm/code_patcher_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698