OLD | NEW |
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_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 class Foreign; | 339 class Foreign; |
340 class Scope; | 340 class Scope; |
341 class ScopeInfo; | 341 class ScopeInfo; |
342 class Script; | 342 class Script; |
343 class Smi; | 343 class Smi; |
344 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 344 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
345 class SplayTree; | 345 class SplayTree; |
346 class String; | 346 class String; |
347 class Name; | 347 class Name; |
348 class Struct; | 348 class Struct; |
| 349 class Symbol; |
349 class Variable; | 350 class Variable; |
350 class RelocInfo; | 351 class RelocInfo; |
351 class Deserializer; | 352 class Deserializer; |
352 class MessageLocation; | 353 class MessageLocation; |
353 | 354 |
354 typedef bool (*WeakSlotCallback)(Object** pointer); | 355 typedef bool (*WeakSlotCallback)(Object** pointer); |
355 | 356 |
356 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 357 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
357 | 358 |
358 // ----------------------------------------------------------------------------- | 359 // ----------------------------------------------------------------------------- |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 DCHECK(IsValidFunctionKind(kind)); | 807 DCHECK(IsValidFunctionKind(kind)); |
807 return kind & FunctionKind::kDefaultConstructor; | 808 return kind & FunctionKind::kDefaultConstructor; |
808 } | 809 } |
809 | 810 |
810 | 811 |
811 } } // namespace v8::internal | 812 } } // namespace v8::internal |
812 | 813 |
813 namespace i = v8::internal; | 814 namespace i = v8::internal; |
814 | 815 |
815 #endif // V8_GLOBALS_H_ | 816 #endif // V8_GLOBALS_H_ |
OLD | NEW |