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

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

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/bitmap_test.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 4
5 #ifndef RUNTIME_VM_BITMAP_H_ 5 #ifndef RUNTIME_VM_BITMAP_H_
6 #define RUNTIME_VM_BITMAP_H_ 6 #define RUNTIME_VM_BITMAP_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/isolate.h" 9 #include "vm/isolate.h"
10 #include "vm/zone.h" 10 #include "vm/zone.h"
11 11
12 namespace dart { 12 namespace dart {
13 13
14 // Forward declarations. 14 // Forward declarations.
15 class RawStackmap; 15 class RawStackMap;
16 class Stackmap; 16 class StackMap;
17 17
18 18
19 // BitmapBuilder is used to build a bitmap. The implementation is optimized 19 // BitmapBuilder is used to build a bitmap. The implementation is optimized
20 // for a dense set of small bit maps without a fixed upper bound (e.g: a 20 // for a dense set of small bit maps without a fixed upper bound (e.g: a
21 // pointer map description of a stack). 21 // pointer map description of a stack).
22 class BitmapBuilder : public ZoneAllocated { 22 class BitmapBuilder : public ZoneAllocated {
23 public: 23 public:
24 BitmapBuilder() 24 BitmapBuilder()
25 : length_(0), 25 : length_(0),
26 data_size_in_bytes_(kInitialSizeInBytes), 26 data_size_in_bytes_(kInitialSizeInBytes),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // (up to length_) is allowed and they are assumed to be false. 72 // (up to length_) is allowed and they are assumed to be false.
73 intptr_t data_size_in_bytes_; 73 intptr_t data_size_in_bytes_;
74 uint8_t* data_; 74 uint8_t* data_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(BitmapBuilder); 76 DISALLOW_COPY_AND_ASSIGN(BitmapBuilder);
77 }; 77 };
78 78
79 } // namespace dart 79 } // namespace dart
80 80
81 #endif // RUNTIME_VM_BITMAP_H_ 81 #endif // RUNTIME_VM_BITMAP_H_
OLDNEW
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/bitmap_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698