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

Side by Side Diff: src/layout-descriptor.h

Issue 919043002: Fix for the compilation issue in shared mode introduced by r26624 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/layout-descriptor.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_LAYOUT_DESCRIPTOR_H_ 5 #ifndef V8_LAYOUT_DESCRIPTOR_H_
6 #define V8_LAYOUT_DESCRIPTOR_H_ 6 #define V8_LAYOUT_DESCRIPTOR_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // |map|'s layout descriptor and if it is still fast then returns it. 62 // |map|'s layout descriptor and if it is still fast then returns it.
63 // Otherwise the |full_layout_descriptor| is returned. 63 // Otherwise the |full_layout_descriptor| is returned.
64 static Handle<LayoutDescriptor> AppendIfFastOrUseFull( 64 static Handle<LayoutDescriptor> AppendIfFastOrUseFull(
65 Handle<Map> map, PropertyDetails details, 65 Handle<Map> map, PropertyDetails details,
66 Handle<LayoutDescriptor> full_layout_descriptor); 66 Handle<LayoutDescriptor> full_layout_descriptor);
67 67
68 // Layout descriptor that corresponds to an object all fields of which are 68 // Layout descriptor that corresponds to an object all fields of which are
69 // tagged (FastPointerLayout). 69 // tagged (FastPointerLayout).
70 V8_INLINE static LayoutDescriptor* FastPointerLayout(); 70 V8_INLINE static LayoutDescriptor* FastPointerLayout();
71 71
72 #ifdef DEBUG 72 #ifdef VERIFY_HEAP
73 // Check that this layout descriptor corresponds to given map. 73 // Check that this layout descriptor corresponds to given map.
74 bool IsConsistentWithMap(Map* map); 74 bool IsConsistentWithMap(Map* map);
75 #endif 75 #endif
76 76
77 #ifdef OBJECT_PRINT 77 #ifdef OBJECT_PRINT
78 // For our gdb macros, we should perhaps change these in the future. 78 // For our gdb macros, we should perhaps change these in the future.
79 void Print(); 79 void Print();
80 80
81 void Print(std::ostream& os); // NOLINT 81 void Print(std::ostream& os); // NOLINT
82 #endif 82 #endif
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 private: 133 private:
134 bool all_fields_tagged_; 134 bool all_fields_tagged_;
135 int header_size_; 135 int header_size_;
136 LayoutDescriptor* layout_descriptor_; 136 LayoutDescriptor* layout_descriptor_;
137 }; 137 };
138 } 138 }
139 } // namespace v8::internal 139 } // namespace v8::internal
140 140
141 #endif // V8_LAYOUT_DESCRIPTOR_H_ 141 #endif // V8_LAYOUT_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/layout-descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698