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 "include/v8stdint.h" | 8 #include "include/v8stdint.h" |
9 | 9 |
10 #include "src/base/build_config.h" | 10 #include "src/base/build_config.h" |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 class Foreign; | 349 class Foreign; |
350 class Scope; | 350 class Scope; |
351 class ScopeInfo; | 351 class ScopeInfo; |
352 class Script; | 352 class Script; |
353 class Smi; | 353 class Smi; |
354 template <typename Config, class Allocator = FreeStoreAllocationPolicy> | 354 template <typename Config, class Allocator = FreeStoreAllocationPolicy> |
355 class SplayTree; | 355 class SplayTree; |
356 class String; | 356 class String; |
357 class Name; | 357 class Name; |
358 class Struct; | 358 class Struct; |
| 359 class Symbol; |
359 class Variable; | 360 class Variable; |
360 class RelocInfo; | 361 class RelocInfo; |
361 class Deserializer; | 362 class Deserializer; |
362 class MessageLocation; | 363 class MessageLocation; |
363 | 364 |
364 typedef bool (*WeakSlotCallback)(Object** pointer); | 365 typedef bool (*WeakSlotCallback)(Object** pointer); |
365 | 366 |
366 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); | 367 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); |
367 | 368 |
368 // ----------------------------------------------------------------------------- | 369 // ----------------------------------------------------------------------------- |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 | 805 |
805 inline bool IsConciseMethod(FunctionKind kind) { | 806 inline bool IsConciseMethod(FunctionKind kind) { |
806 DCHECK(IsValidFunctionKind(kind)); | 807 DCHECK(IsValidFunctionKind(kind)); |
807 return kind & FunctionKind::kConciseMethod; | 808 return kind & FunctionKind::kConciseMethod; |
808 } | 809 } |
809 } } // namespace v8::internal | 810 } } // namespace v8::internal |
810 | 811 |
811 namespace i = v8::internal; | 812 namespace i = v8::internal; |
812 | 813 |
813 #endif // V8_GLOBALS_H_ | 814 #endif // V8_GLOBALS_H_ |
OLD | NEW |