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