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

Side by Side Diff: runtime/vm/code_patcher.h

Issue 1137313002: VM: Set breakpoints on x64 and arm64 without patching code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: re-upload from git workspace Created 5 years, 7 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/assembler_x64.cc ('k') | runtime/vm/code_patcher_arm.cc » ('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) 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 // Class for patching compiled code. 4 // Class for patching compiled code.
5 5
6 #ifndef VM_CODE_PATCHER_H_ 6 #ifndef VM_CODE_PATCHER_H_
7 #define VM_CODE_PATCHER_H_ 7 #define VM_CODE_PATCHER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ICData* ic_data); 83 ICData* ic_data);
84 84
85 static intptr_t InstanceCallSizeInBytes(); 85 static intptr_t InstanceCallSizeInBytes();
86 86
87 static void InsertCallAt(uword start, uword target); 87 static void InsertCallAt(uword start, uword target);
88 88
89 static RawObject* GetEdgeCounterAt(uword pc, const Code& code); 89 static RawObject* GetEdgeCounterAt(uword pc, const Code& code);
90 90
91 static int32_t GetPoolOffsetAt(uword return_address); 91 static int32_t GetPoolOffsetAt(uword return_address);
92 static void SetPoolOffsetAt(uword return_address, int32_t offset); 92 static void SetPoolOffsetAt(uword return_address, int32_t offset);
93 static void PatchPoolPointerCallAt(uword return_address,
94 const Code& code,
95 uword new_target);
93 }; 96 };
94 97
95 } // namespace dart 98 } // namespace dart
96 99
97 #endif // VM_CODE_PATCHER_H_ 100 #endif // VM_CODE_PATCHER_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/code_patcher_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698