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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 class Foreign; | 354 class Foreign; |
355 class Scope; | 355 class Scope; |
356 class ScopeInfo; | 356 class ScopeInfo; |
357 class Script; | 357 class Script; |
358 class Smi; | 358 class Smi; |
359 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 359 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
360 class SplayTree; | 360 class SplayTree; |
361 class String; | 361 class String; |
362 class Name; | 362 class Name; |
363 class Struct; | 363 class Struct; |
364 class Symbol; | |
365 class Variable; | 364 class Variable; |
366 class RelocInfo; | 365 class RelocInfo; |
367 class Deserializer; | 366 class Deserializer; |
368 class MessageLocation; | 367 class MessageLocation; |
369 | 368 |
370 typedef bool (*WeakSlotCallback)(Object** pointer); | 369 typedef bool (*WeakSlotCallback)(Object** pointer); |
371 | 370 |
372 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 371 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
373 | 372 |
374 // ----------------------------------------------------------------------------- | 373 // ----------------------------------------------------------------------------- |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 | 825 |
827 inline bool IsDefaultConstructorCallSuper(FunctionKind kind) { | 826 inline bool IsDefaultConstructorCallSuper(FunctionKind kind) { |
828 DCHECK(IsValidFunctionKind(kind)); | 827 DCHECK(IsValidFunctionKind(kind)); |
829 return kind & FunctionKind::kDefaultConstructorCallSuper; | 828 return kind & FunctionKind::kDefaultConstructorCallSuper; |
830 } | 829 } |
831 } } // namespace v8::internal | 830 } } // namespace v8::internal |
832 | 831 |
833 namespace i = v8::internal; | 832 namespace i = v8::internal; |
834 | 833 |
835 #endif // V8_GLOBALS_H_ | 834 #endif // V8_GLOBALS_H_ |
OLD | NEW |