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

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

Issue 1073173003: Eliminate object table and use regular object pool for deoptimization infos. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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_ia32.h ('k') | runtime/vm/assembler_x64.h » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_MIPS_H_ 5 #ifndef VM_ASSEMBLER_MIPS_H_
6 #define VM_ASSEMBLER_MIPS_H_ 6 #define VM_ASSEMBLER_MIPS_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_mips.h directly; use assembler.h instead. 9 #error Do not include assembler_mips.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 // Count the fixups that produce a pointer offset, without processing 256 // Count the fixups that produce a pointer offset, without processing
257 // the fixups. 257 // the fixups.
258 intptr_t CountPointerOffsets() const { 258 intptr_t CountPointerOffsets() const {
259 return buffer_.CountPointerOffsets(); 259 return buffer_.CountPointerOffsets();
260 } 260 }
261 261
262 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const { 262 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const {
263 return buffer_.pointer_offsets(); 263 return buffer_.pointer_offsets();
264 } 264 }
265 const GrowableObjectArray& object_pool() const { return object_pool_.data(); } 265
266 const GrowableObjectArray& object_pool_data() const {
267 return object_pool_.data();
268 }
269
270 ObjectPool& object_pool() { return object_pool_; }
271
266 void FinalizeInstructions(const MemoryRegion& region) { 272 void FinalizeInstructions(const MemoryRegion& region) {
267 buffer_.FinalizeInstructions(region); 273 buffer_.FinalizeInstructions(region);
268 } 274 }
269 275
270 bool use_far_branches() const { 276 bool use_far_branches() const {
271 return FLAG_use_far_branches || use_far_branches_; 277 return FLAG_use_far_branches || use_far_branches_;
272 } 278 }
273 279
274 void set_use_far_branches(bool b) { 280 void set_use_far_branches(bool b) {
275 ASSERT(buffer_.Size() == 0); 281 ASSERT(buffer_.Size() == 0);
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 Register value, 1740 Register value,
1735 Label* no_update); 1741 Label* no_update);
1736 1742
1737 DISALLOW_ALLOCATION(); 1743 DISALLOW_ALLOCATION();
1738 DISALLOW_COPY_AND_ASSIGN(Assembler); 1744 DISALLOW_COPY_AND_ASSIGN(Assembler);
1739 }; 1745 };
1740 1746
1741 } // namespace dart 1747 } // namespace dart
1742 1748
1743 #endif // VM_ASSEMBLER_MIPS_H_ 1749 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698