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

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

Issue 508933002: Some PNaCL compatibility fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix includes for Mac. 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
« no previous file with comments | « src/base/platform/platform-posix.cc ('k') | no next file » | 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_INL_H_ 5 #ifndef V8_HEAP_MARK_COMPACT_INL_H_
6 #define V8_HEAP_MARK_COMPACT_INL_H_ 6 #define V8_HEAP_MARK_COMPACT_INL_H_
7 7
8 #include <memory.h>
9
10 #include "src/heap/mark-compact.h" 8 #include "src/heap/mark-compact.h"
11 #include "src/isolate.h" 9 #include "src/isolate.h"
12 10
13 11
14 namespace v8 { 12 namespace v8 {
15 namespace internal { 13 namespace internal {
16 14
17 15
18 MarkBit Marking::MarkBitFrom(Address addr) { 16 MarkBit Marking::MarkBitFrom(Address addr) {
19 MemoryChunk* p = MemoryChunk::FromAddress(addr); 17 MemoryChunk* p = MemoryChunk::FromAddress(addr);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 if (!SlotsBuffer::AddTo(&slots_buffer_allocator_, 63 if (!SlotsBuffer::AddTo(&slots_buffer_allocator_,
66 object_page->slots_buffer_address(), slot, mode)) { 64 object_page->slots_buffer_address(), slot, mode)) {
67 EvictEvacuationCandidate(object_page); 65 EvictEvacuationCandidate(object_page);
68 } 66 }
69 } 67 }
70 } 68 }
71 } 69 }
72 } // namespace v8::internal 70 } // namespace v8::internal
73 71
74 #endif // V8_HEAP_MARK_COMPACT_INL_H_ 72 #endif // V8_HEAP_MARK_COMPACT_INL_H_
OLDNEW
« no previous file with comments | « src/base/platform/platform-posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698