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_SERIALIZE_H_ | 5 #ifndef V8_SERIALIZE_H_ |
6 #define V8_SERIALIZE_H_ | 6 #define V8_SERIALIZE_H_ |
7 | 7 |
8 #include "hashmap.h" | 8 #include "src/hashmap.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // A TypeCode is used to distinguish different kinds of external reference. | 13 // A TypeCode is used to distinguish different kinds of external reference. |
14 // It is a single bit to make testing for types easy. | 14 // It is a single bit to make testing for types easy. |
15 enum TypeCode { | 15 enum TypeCode { |
16 UNCLASSIFIED, // One-of-a-kind references. | 16 UNCLASSIFIED, // One-of-a-kind references. |
17 BUILTIN, | 17 BUILTIN, |
18 RUNTIME_FUNCTION, | 18 RUNTIME_FUNCTION, |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 private: | 629 private: |
630 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { | 630 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { |
631 return false; | 631 return false; |
632 } | 632 } |
633 }; | 633 }; |
634 | 634 |
635 | 635 |
636 } } // namespace v8::internal | 636 } } // namespace v8::internal |
637 | 637 |
638 #endif // V8_SERIALIZE_H_ | 638 #endif // V8_SERIALIZE_H_ |
OLD | NEW |