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

Side by Side Diff: src/heap/mark-compact.h

Issue 494633002: Fix implementation of bit count functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | « src/frames.cc ('k') | src/heap/mark-compact.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_HEAP_MARK_COMPACT_H_ 5 #ifndef V8_HEAP_MARK_COMPACT_H_
6 #define V8_HEAP_MARK_COMPACT_H_ 6 #define V8_HEAP_MARK_COMPACT_H_
7 7
8 #include "src/compiler-intrinsics.h"
9 #include "src/heap/spaces.h" 8 #include "src/heap/spaces.h"
10 9
11 namespace v8 { 10 namespace v8 {
12 namespace internal { 11 namespace internal {
13 12
14 // Callback function, returns whether an object is alive. The heap size 13 // Callback function, returns whether an object is alive. The heap size
15 // of the object is returned in size. It optionally updates the offset 14 // of the object is returned in size. It optionally updates the offset
16 // to the first live object in the page (only used for old and map objects). 15 // to the first live object in the page (only used for old and map objects).
17 typedef bool (*IsAliveFunction)(HeapObject* obj, int* size, int* offset); 16 typedef bool (*IsAliveFunction)(HeapObject* obj, int* size, int* offset);
18 17
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 private: 956 private:
958 MarkCompactCollector* collector_; 957 MarkCompactCollector* collector_;
959 }; 958 };
960 959
961 960
962 const char* AllocationSpaceName(AllocationSpace space); 961 const char* AllocationSpaceName(AllocationSpace space);
963 } 962 }
964 } // namespace v8::internal 963 } // namespace v8::internal
965 964
966 #endif // V8_HEAP_MARK_COMPACT_H_ 965 #endif // V8_HEAP_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698