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 3916 matching lines...) Loading... |
3927 static const int kFullStringRepresentationMask = 0x07; | 3927 static const int kFullStringRepresentationMask = 0x07; |
3928 static const int kExternalTwoByteRepresentationTag = 0x02; | 3928 static const int kExternalTwoByteRepresentationTag = 0x02; |
3929 | 3929 |
3930 static const int kIsolateStateOffset = 0; | 3930 static const int kIsolateStateOffset = 0; |
3931 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | 3931 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; |
3932 static const int kIsolateRootsOffset = 3 * kApiPointerSize; | 3932 static const int kIsolateRootsOffset = 3 * kApiPointerSize; |
3933 static const int kUndefinedValueRootIndex = 5; | 3933 static const int kUndefinedValueRootIndex = 5; |
3934 static const int kNullValueRootIndex = 7; | 3934 static const int kNullValueRootIndex = 7; |
3935 static const int kTrueValueRootIndex = 8; | 3935 static const int kTrueValueRootIndex = 8; |
3936 static const int kFalseValueRootIndex = 9; | 3936 static const int kFalseValueRootIndex = 9; |
3937 static const int kEmptySymbolRootIndex = 128; | 3937 static const int kEmptySymbolRootIndex = 112; |
3938 | 3938 |
3939 static const int kJSObjectType = 0xaa; | 3939 static const int kJSObjectType = 0xaa; |
3940 static const int kFirstNonstringType = 0x80; | 3940 static const int kFirstNonstringType = 0x80; |
3941 static const int kOddballType = 0x82; | 3941 static const int kOddballType = 0x82; |
3942 static const int kForeignType = 0x85; | 3942 static const int kForeignType = 0x85; |
3943 | 3943 |
3944 static const int kUndefinedOddballKind = 5; | 3944 static const int kUndefinedOddballKind = 5; |
3945 static const int kNullOddballKind = 3; | 3945 static const int kNullOddballKind = 3; |
3946 | 3946 |
3947 static inline bool HasHeapObjectTag(internal::Object* value) { | 3947 static inline bool HasHeapObjectTag(internal::Object* value) { |
(...skipping 554 matching lines...) Loading... |
4502 | 4502 |
4503 | 4503 |
4504 } // namespace v8 | 4504 } // namespace v8 |
4505 | 4505 |
4506 | 4506 |
4507 #undef V8EXPORT | 4507 #undef V8EXPORT |
4508 #undef TYPE_CHECK | 4508 #undef TYPE_CHECK |
4509 | 4509 |
4510 | 4510 |
4511 #endif // V8_H_ | 4511 #endif // V8_H_ |
OLD | NEW |