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

Side by Side Diff: src/heap/objects-visiting-inl.h

Issue 1272933004: [heap] Avoid inclusion of objects-visiting-inl.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 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
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/objects.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_OBJECTS_VISITING_INL_H_ 5 #ifndef V8_OBJECTS_VISITING_INL_H_
6 #define V8_OBJECTS_VISITING_INL_H_ 6 #define V8_OBJECTS_VISITING_INL_H_
7 7
8 #include "src/heap/objects-visiting.h" 8 #include "src/heap/objects-visiting.h"
9 #include "src/ic/ic-state.h"
10 #include "src/macro-assembler.h"
9 11
10 namespace v8 { 12 namespace v8 {
11 namespace internal { 13 namespace internal {
12 14
13 template <typename StaticVisitor> 15 template <typename StaticVisitor>
14 void StaticNewSpaceVisitor<StaticVisitor>::Initialize() { 16 void StaticNewSpaceVisitor<StaticVisitor>::Initialize() {
15 table_.Register( 17 table_.Register(
16 kVisitShortcutCandidate, 18 kVisitShortcutCandidate,
17 &FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, int>::Visit); 19 &FixedBodyVisitor<StaticVisitor, ConsString::BodyDescriptor, int>::Visit);
18 20
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 864
863 RelocIterator it(this, mode_mask); 865 RelocIterator it(this, mode_mask);
864 for (; !it.done(); it.next()) { 866 for (; !it.done(); it.next()) {
865 it.rinfo()->template Visit<StaticVisitor>(heap); 867 it.rinfo()->template Visit<StaticVisitor>(heap);
866 } 868 }
867 } 869 }
868 } 870 }
869 } // namespace v8::internal 871 } // namespace v8::internal
870 872
871 #endif // V8_OBJECTS_VISITING_INL_H_ 873 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698