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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 class Scope; | 449 class Scope; |
450 class ScopeInfo; | 450 class ScopeInfo; |
451 class Script; | 451 class Script; |
452 class Smi; | 452 class Smi; |
453 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 453 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
454 class SplayTree; | 454 class SplayTree; |
455 class String; | 455 class String; |
456 class Symbol; | 456 class Symbol; |
457 class Name; | 457 class Name; |
458 class Struct; | 458 class Struct; |
459 class Symbol; | |
460 class Variable; | 459 class Variable; |
461 class RelocInfo; | 460 class RelocInfo; |
462 class Deserializer; | 461 class Deserializer; |
463 class MessageLocation; | 462 class MessageLocation; |
464 | 463 |
465 typedef bool (*WeakSlotCallback)(Object** pointer); | 464 typedef bool (*WeakSlotCallback)(Object** pointer); |
466 | 465 |
467 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 466 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
468 | 467 |
469 // ----------------------------------------------------------------------------- | 468 // ----------------------------------------------------------------------------- |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { | 995 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { |
997 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); | 996 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); |
998 DCHECK(IsValidFunctionKind(kind)); | 997 DCHECK(IsValidFunctionKind(kind)); |
999 return kind; | 998 return kind; |
1000 } | 999 } |
1001 } } // namespace v8::internal | 1000 } } // namespace v8::internal |
1002 | 1001 |
1003 namespace i = v8::internal; | 1002 namespace i = v8::internal; |
1004 | 1003 |
1005 #endif // V8_GLOBALS_H_ | 1004 #endif // V8_GLOBALS_H_ |
OLD | NEW |