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/objects.h

Issue 2675233002: [iwyu] runtime.h doesn't need objects.h (Closed)
Patch Set: more Created 3 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 | « src/globals.h ('k') | src/runtime/runtime.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, 181 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS,
182 STORE_NO_TRANSITION_HANDLE_COW 182 STORE_NO_TRANSITION_HANDLE_COW
183 }; 183 };
184 184
185 enum MutableMode { 185 enum MutableMode {
186 MUTABLE, 186 MUTABLE,
187 IMMUTABLE 187 IMMUTABLE
188 }; 188 };
189 189
190 190
191 enum ExternalArrayType {
192 kExternalInt8Array = 1,
193 kExternalUint8Array,
194 kExternalInt16Array,
195 kExternalUint16Array,
196 kExternalInt32Array,
197 kExternalUint32Array,
198 kExternalFloat32Array,
199 kExternalFloat64Array,
200 kExternalUint8ClampedArray,
201 };
202
203
204 static inline bool IsTransitionStoreMode(KeyedAccessStoreMode store_mode) { 191 static inline bool IsTransitionStoreMode(KeyedAccessStoreMode store_mode) {
205 return store_mode == STORE_TRANSITION_TO_OBJECT || 192 return store_mode == STORE_TRANSITION_TO_OBJECT ||
206 store_mode == STORE_TRANSITION_TO_DOUBLE || 193 store_mode == STORE_TRANSITION_TO_DOUBLE ||
207 store_mode == STORE_AND_GROW_TRANSITION_TO_OBJECT || 194 store_mode == STORE_AND_GROW_TRANSITION_TO_OBJECT ||
208 store_mode == STORE_AND_GROW_TRANSITION_TO_DOUBLE; 195 store_mode == STORE_AND_GROW_TRANSITION_TO_DOUBLE;
209 } 196 }
210 197
211 198
212 static inline KeyedAccessStoreMode GetNonTransitioningStoreMode( 199 static inline KeyedAccessStoreMode GetNonTransitioningStoreMode(
213 KeyedAccessStoreMode store_mode) { 200 KeyedAccessStoreMode store_mode) {
(...skipping 11408 matching lines...) Expand 10 before | Expand all | Expand 10 after
11622 } 11609 }
11623 }; 11610 };
11624 11611
11625 11612
11626 } // NOLINT, false-positive due to second-order macros. 11613 } // NOLINT, false-positive due to second-order macros.
11627 } // NOLINT, false-positive due to second-order macros. 11614 } // NOLINT, false-positive due to second-order macros.
11628 11615
11629 #include "src/objects/object-macros-undef.h" 11616 #include "src/objects/object-macros-undef.h"
11630 11617
11631 #endif // V8_OBJECTS_H_ 11618 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698