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

Side by Side Diff: src/context-measure.h

Issue 1408163003: Move RootIndexMap out of serializer file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add files Created 5 years, 2 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
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/snapshot/serialize.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONTEXT_MEASURE_H_ 5 #ifndef V8_CONTEXT_MEASURE_H_
6 #define V8_CONTEXT_MEASURE_H_ 6 #define V8_CONTEXT_MEASURE_H_
7 7
8 #include "src/snapshot/serialize.h" 8 #include "src/address-map.h"
9 #include "src/assert-scope.h"
10 #include "src/objects.h"
9 11
10 namespace v8 { 12 namespace v8 {
11 namespace internal { 13 namespace internal {
12 14
13 class ContextMeasure : public ObjectVisitor { 15 class ContextMeasure : public ObjectVisitor {
14 public: 16 public:
15 explicit ContextMeasure(Context* context); 17 explicit ContextMeasure(Context* context);
16 18
17 int Size() { return size_; } 19 int Size() { return size_; }
18 int Count() { return count_; } 20 int Count() { return count_; }
(...skipping 19 matching lines...) Expand all
38 int size_; 40 int size_;
39 41
40 DisallowHeapAllocation no_gc_; 42 DisallowHeapAllocation no_gc_;
41 43
42 DISALLOW_COPY_AND_ASSIGN(ContextMeasure); 44 DISALLOW_COPY_AND_ASSIGN(ContextMeasure);
43 }; 45 };
44 } // namespace internal 46 } // namespace internal
45 } // namespace v8 47 } // namespace v8
46 48
47 #endif // V8_CONTEXT_MEASURE_H_ 49 #endif // V8_CONTEXT_MEASURE_H_
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/snapshot/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698