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

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
« no previous file with comments | « runtime/vm/code_patcher_ia32.cc ('k') | no next file » | 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) 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();
26 return false;
27 }
28
29
24 void CodePatcher::GetInstanceCallAt(uword return_address, 30 void CodePatcher::GetInstanceCallAt(uword return_address,
25 String* function_name, 31 String* function_name,
26 int* num_arguments, 32 int* num_arguments,
27 int* num_named_arguments, 33 int* num_named_arguments,
28 uword* target) { 34 uword* target) {
29 UNIMPLEMENTED(); 35 UNIMPLEMENTED();
30 } 36 }
31 37
32 38
33 void CodePatcher::PatchEntry(const Code& code) { 39 void CodePatcher::PatchEntry(const Code& code) {
(...skipping 19 matching lines...) Expand all
53 59
54 60
55 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, 61 void CodePatcher::SetInstanceCallIcDataAt(uword return_address,
56 const Array& ic_data) { 62 const Array& ic_data) {
57 UNIMPLEMENTED(); 63 UNIMPLEMENTED();
58 } 64 }
59 65
60 } // namespace dart 66 } // namespace dart
61 67
62 #endif // defined TARGET_ARCH_X64 68 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/code_patcher_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698