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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 class Scope; | 436 class Scope; |
437 class ScopeInfo; | 437 class ScopeInfo; |
438 class Script; | 438 class Script; |
439 class Smi; | 439 class Smi; |
440 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 440 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
441 class SplayTree; | 441 class SplayTree; |
442 class String; | 442 class String; |
443 class Symbol; | 443 class Symbol; |
444 class Name; | 444 class Name; |
445 class Struct; | 445 class Struct; |
| 446 class TypeFeedbackVector; |
446 class Variable; | 447 class Variable; |
447 class RelocInfo; | 448 class RelocInfo; |
448 class Deserializer; | 449 class Deserializer; |
449 class MessageLocation; | 450 class MessageLocation; |
450 | 451 |
451 typedef bool (*WeakSlotCallback)(Object** pointer); | 452 typedef bool (*WeakSlotCallback)(Object** pointer); |
452 | 453 |
453 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 454 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
454 | 455 |
455 // ----------------------------------------------------------------------------- | 456 // ----------------------------------------------------------------------------- |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); | 1020 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); |
1020 DCHECK(IsValidFunctionKind(kind)); | 1021 DCHECK(IsValidFunctionKind(kind)); |
1021 return kind; | 1022 return kind; |
1022 } | 1023 } |
1023 } // namespace internal | 1024 } // namespace internal |
1024 } // namespace v8 | 1025 } // namespace v8 |
1025 | 1026 |
1026 namespace i = v8::internal; | 1027 namespace i = v8::internal; |
1027 | 1028 |
1028 #endif // V8_GLOBALS_H_ | 1029 #endif // V8_GLOBALS_H_ |
OLD | NEW |