OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4035 static const int kFullStringRepresentationMask = 0x07; | 4035 static const int kFullStringRepresentationMask = 0x07; |
4036 static const int kExternalTwoByteRepresentationTag = 0x02; | 4036 static const int kExternalTwoByteRepresentationTag = 0x02; |
4037 | 4037 |
4038 static const int kIsolateStateOffset = 0; | 4038 static const int kIsolateStateOffset = 0; |
4039 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | 4039 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; |
4040 static const int kIsolateRootsOffset = 3 * kApiPointerSize; | 4040 static const int kIsolateRootsOffset = 3 * kApiPointerSize; |
4041 static const int kUndefinedValueRootIndex = 5; | 4041 static const int kUndefinedValueRootIndex = 5; |
4042 static const int kNullValueRootIndex = 7; | 4042 static const int kNullValueRootIndex = 7; |
4043 static const int kTrueValueRootIndex = 8; | 4043 static const int kTrueValueRootIndex = 8; |
4044 static const int kFalseValueRootIndex = 9; | 4044 static const int kFalseValueRootIndex = 9; |
4045 static const int kEmptySymbolRootIndex = 115; | 4045 static const int kEmptySymbolRootIndex = 116; |
4046 | 4046 |
4047 static const int kJSObjectType = 0xaa; | 4047 static const int kJSObjectType = 0xaa; |
4048 static const int kFirstNonstringType = 0x80; | 4048 static const int kFirstNonstringType = 0x80; |
4049 static const int kOddballType = 0x82; | 4049 static const int kOddballType = 0x82; |
4050 static const int kForeignType = 0x85; | 4050 static const int kForeignType = 0x85; |
4051 | 4051 |
4052 static const int kUndefinedOddballKind = 5; | 4052 static const int kUndefinedOddballKind = 5; |
4053 static const int kNullOddballKind = 3; | 4053 static const int kNullOddballKind = 3; |
4054 | 4054 |
4055 static inline bool HasHeapObjectTag(internal::Object* value) { | 4055 static inline bool HasHeapObjectTag(internal::Object* value) { |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4610 | 4610 |
4611 | 4611 |
4612 } // namespace v8 | 4612 } // namespace v8 |
4613 | 4613 |
4614 | 4614 |
4615 #undef V8EXPORT | 4615 #undef V8EXPORT |
4616 #undef TYPE_CHECK | 4616 #undef TYPE_CHECK |
4617 | 4617 |
4618 | 4618 |
4619 #endif // V8_H_ | 4619 #endif // V8_H_ |
OLD | NEW |