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

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

Issue 578443003: Support old-space allocation in generated code (bump block only for now). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 #ifndef VM_ASSEMBLER_ARM64_H_ 5 #ifndef VM_ASSEMBLER_ARM64_H_
6 #define VM_ASSEMBLER_ARM64_H_ 6 #define VM_ASSEMBLER_ARM64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. 9 #error Do not include assembler_arm64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 void LeaveCallRuntimeFrame(); 1204 void LeaveCallRuntimeFrame();
1205 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); 1205 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
1206 1206
1207 // Set up a stub frame so that the stack traversal code can easily identify 1207 // Set up a stub frame so that the stack traversal code can easily identify
1208 // a stub frame. 1208 // a stub frame.
1209 void EnterStubFrame(bool load_pp = false); 1209 void EnterStubFrame(bool load_pp = false);
1210 void LeaveStubFrame(); 1210 void LeaveStubFrame();
1211 1211
1212 void UpdateAllocationStats(intptr_t cid, 1212 void UpdateAllocationStats(intptr_t cid,
1213 Register pp, 1213 Register pp,
1214 Heap::Space space = Heap::kNew); 1214 Heap::Space space);
1215 1215
1216 void UpdateAllocationStatsWithSize(intptr_t cid, 1216 void UpdateAllocationStatsWithSize(intptr_t cid,
1217 Register size_reg, 1217 Register size_reg,
1218 Register pp, 1218 Register pp,
1219 Heap::Space space = Heap::kNew); 1219 Heap::Space space);
1220 1220
1221 // Inlined allocation of an instance of class 'cls', code has no runtime 1221 // Inlined allocation of an instance of class 'cls', code has no runtime
1222 // calls. Jump to 'failure' if the instance cannot be allocated here. 1222 // calls. Jump to 'failure' if the instance cannot be allocated here.
1223 // Allocated instance is returned in 'instance_reg'. 1223 // Allocated instance is returned in 'instance_reg'.
1224 // Only the tags field of the object is initialized. 1224 // Only the tags field of the object is initialized.
1225 void TryAllocate(const Class& cls, 1225 void TryAllocate(const Class& cls,
1226 Label* failure, 1226 Label* failure,
1227 Register instance_reg, 1227 Register instance_reg,
1228 Register temp_reg, 1228 Register temp_reg,
1229 Register pp); 1229 Register pp);
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 Register value, 1704 Register value,
1705 Label* no_update); 1705 Label* no_update);
1706 1706
1707 DISALLOW_ALLOCATION(); 1707 DISALLOW_ALLOCATION();
1708 DISALLOW_COPY_AND_ASSIGN(Assembler); 1708 DISALLOW_COPY_AND_ASSIGN(Assembler);
1709 }; 1709 };
1710 1710
1711 } // namespace dart 1711 } // namespace dart
1712 1712
1713 #endif // VM_ASSEMBLER_ARM64_H_ 1713 #endif // VM_ASSEMBLER_ARM64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698