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

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

Issue 685003002: Add missing StoreIntoObject calls in generated code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/assembler_ia32.cc ('k') | runtime/vm/code_patcher_ia32.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Return the arguments descriptor array of the closure call 85 // Return the arguments descriptor array of the closure call
86 // before the given return address. 86 // before the given return address.
87 static RawArray* GetClosureArgDescAt(uword return_address, 87 static RawArray* GetClosureArgDescAt(uword return_address,
88 const Code& code); 88 const Code& code);
89 89
90 static intptr_t InstanceCallSizeInBytes(); 90 static intptr_t InstanceCallSizeInBytes();
91 91
92 static void InsertCallAt(uword start, uword target); 92 static void InsertCallAt(uword start, uword target);
93 93
94 static RawObject* GetEdgeCounterAt(uword pc, const Code& code); 94 static RawObject* GetEdgeCounterAt(uword pc, const Code& code);
95 #if defined(TARGET_ARCH_IA32)
96 static int32_t EdgeCounterIncrementSizeInBytes();
97 #endif // TARGET_ARCH_IA32
95 98
96 static int32_t GetPoolOffsetAt(uword return_address); 99 static int32_t GetPoolOffsetAt(uword return_address);
97 static void SetPoolOffsetAt(uword return_address, int32_t offset); 100 static void SetPoolOffsetAt(uword return_address, int32_t offset);
98 }; 101 };
99 102
100 } // namespace dart 103 } // namespace dart
101 104
102 #endif // VM_CODE_PATCHER_H_ 105 #endif // VM_CODE_PATCHER_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698