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 3950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3961 static const int kFullStringRepresentationMask = 0x07; | 3961 static const int kFullStringRepresentationMask = 0x07; |
3962 static const int kExternalTwoByteRepresentationTag = 0x02; | 3962 static const int kExternalTwoByteRepresentationTag = 0x02; |
3963 | 3963 |
3964 static const int kIsolateStateOffset = 0; | 3964 static const int kIsolateStateOffset = 0; |
3965 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | 3965 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; |
3966 static const int kIsolateRootsOffset = 3 * kApiPointerSize; | 3966 static const int kIsolateRootsOffset = 3 * kApiPointerSize; |
3967 static const int kUndefinedValueRootIndex = 5; | 3967 static const int kUndefinedValueRootIndex = 5; |
3968 static const int kNullValueRootIndex = 7; | 3968 static const int kNullValueRootIndex = 7; |
3969 static const int kTrueValueRootIndex = 8; | 3969 static const int kTrueValueRootIndex = 8; |
3970 static const int kFalseValueRootIndex = 9; | 3970 static const int kFalseValueRootIndex = 9; |
3971 static const int kEmptySymbolRootIndex = 112; | 3971 static const int kEmptySymbolRootIndex = 113; |
3972 | 3972 |
3973 static const int kJSObjectType = 0xaa; | 3973 static const int kJSObjectType = 0xaa; |
3974 static const int kFirstNonstringType = 0x80; | 3974 static const int kFirstNonstringType = 0x80; |
3975 static const int kOddballType = 0x82; | 3975 static const int kOddballType = 0x82; |
3976 static const int kForeignType = 0x85; | 3976 static const int kForeignType = 0x85; |
3977 | 3977 |
3978 static const int kUndefinedOddballKind = 5; | 3978 static const int kUndefinedOddballKind = 5; |
3979 static const int kNullOddballKind = 3; | 3979 static const int kNullOddballKind = 3; |
3980 | 3980 |
3981 static inline bool HasHeapObjectTag(internal::Object* value) { | 3981 static inline bool HasHeapObjectTag(internal::Object* value) { |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4536 | 4536 |
4537 | 4537 |
4538 } // namespace v8 | 4538 } // namespace v8 |
4539 | 4539 |
4540 | 4540 |
4541 #undef V8EXPORT | 4541 #undef V8EXPORT |
4542 #undef TYPE_CHECK | 4542 #undef TYPE_CHECK |
4543 | 4543 |
4544 | 4544 |
4545 #endif // V8_H_ | 4545 #endif // V8_H_ |
OLD | NEW |