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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 class NewSpace; | 431 class NewSpace; |
432 class Object; | 432 class Object; |
433 class OldSpace; | 433 class OldSpace; |
434 class ParameterCount; | 434 class ParameterCount; |
435 class Foreign; | 435 class Foreign; |
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 Variable; | 446 class Variable; |
447 class RelocInfo; | 447 class RelocInfo; |
448 class Deserializer; | 448 class Deserializer; |
449 class MessageLocation; | 449 class MessageLocation; |
450 | 450 |
451 typedef bool (*WeakSlotCallback)(Object** pointer); | 451 typedef bool (*WeakSlotCallback)(Object** pointer); |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { | 1010 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { |
1011 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); | 1011 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); |
1012 DCHECK(IsValidFunctionKind(kind)); | 1012 DCHECK(IsValidFunctionKind(kind)); |
1013 return kind; | 1013 return kind; |
1014 } | 1014 } |
1015 } } // namespace v8::internal | 1015 } } // namespace v8::internal |
1016 | 1016 |
1017 namespace i = v8::internal; | 1017 namespace i = v8::internal; |
1018 | 1018 |
1019 #endif // V8_GLOBALS_H_ | 1019 #endif // V8_GLOBALS_H_ |
OLD | NEW |