| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 class Scope; | 459 class Scope; |
| 460 class ScopeInfo; | 460 class ScopeInfo; |
| 461 class Script; | 461 class Script; |
| 462 class Smi; | 462 class Smi; |
| 463 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 463 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
| 464 class SplayTree; | 464 class SplayTree; |
| 465 class String; | 465 class String; |
| 466 class Symbol; | 466 class Symbol; |
| 467 class Name; | 467 class Name; |
| 468 class Struct; | 468 class Struct; |
| 469 class Symbol; | |
| 470 class Variable; | 469 class Variable; |
| 471 class RelocInfo; | 470 class RelocInfo; |
| 472 class Deserializer; | 471 class Deserializer; |
| 473 class MessageLocation; | 472 class MessageLocation; |
| 474 | 473 |
| 475 typedef bool (*WeakSlotCallback)(Object** pointer); | 474 typedef bool (*WeakSlotCallback)(Object** pointer); |
| 476 | 475 |
| 477 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 476 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
| 478 | 477 |
| 479 // ----------------------------------------------------------------------------- | 478 // ----------------------------------------------------------------------------- |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { | 1039 inline FunctionKind WithObjectLiteralBit(FunctionKind kind) { |
| 1041 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); | 1040 kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); |
| 1042 DCHECK(IsValidFunctionKind(kind)); | 1041 DCHECK(IsValidFunctionKind(kind)); |
| 1043 return kind; | 1042 return kind; |
| 1044 } | 1043 } |
| 1045 } } // namespace v8::internal | 1044 } } // namespace v8::internal |
| 1046 | 1045 |
| 1047 namespace i = v8::internal; | 1046 namespace i = v8::internal; |
| 1048 | 1047 |
| 1049 #endif // V8_GLOBALS_H_ | 1048 #endif // V8_GLOBALS_H_ |
| OLD | NEW |