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

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

Issue 138543003: Version 1.1.1 (stable channel) (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.1/
Patch Set: Created 6 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 | « dart/runtime/vm/assembler_x64.cc ('k') | dart/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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Return the arguments descriptor array of the closure call 69 // Return the arguments descriptor array of the closure call
70 // before the given return address. 70 // before the given return address.
71 static RawArray* GetClosureArgDescAt(uword return_address, 71 static RawArray* GetClosureArgDescAt(uword return_address,
72 const Code& code); 72 const Code& code);
73 73
74 static intptr_t InstanceCallSizeInBytes(); 74 static intptr_t InstanceCallSizeInBytes();
75 75
76 static void InsertCallAt(uword start, uword target); 76 static void InsertCallAt(uword start, uword target);
77 77
78 static RawObject* GetEdgeCounterAt(uword pc, const Code& code); 78 static RawObject* GetEdgeCounterAt(uword pc, const Code& code);
79
80 static int32_t GetPoolOffsetAt(uword return_address);
81 static void SetPoolOffsetAt(uword return_address, int32_t offset);
79 }; 82 };
80 83
81 } // namespace dart 84 } // namespace dart
82 85
83 #endif // VM_CODE_PATCHER_H_ 86 #endif // VM_CODE_PATCHER_H_
OLDNEW
« no previous file with comments | « dart/runtime/vm/assembler_x64.cc ('k') | dart/runtime/vm/code_patcher_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698