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 4120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4131 static const int kExternalTwoByteRepresentationTag = 0x02; | 4131 static const int kExternalTwoByteRepresentationTag = 0x02; |
4132 static const int kExternalAsciiRepresentationTag = 0x06; | 4132 static const int kExternalAsciiRepresentationTag = 0x06; |
4133 | 4133 |
4134 static const int kIsolateStateOffset = 0; | 4134 static const int kIsolateStateOffset = 0; |
4135 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | 4135 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; |
4136 static const int kIsolateRootsOffset = 3 * kApiPointerSize; | 4136 static const int kIsolateRootsOffset = 3 * kApiPointerSize; |
4137 static const int kUndefinedValueRootIndex = 5; | 4137 static const int kUndefinedValueRootIndex = 5; |
4138 static const int kNullValueRootIndex = 7; | 4138 static const int kNullValueRootIndex = 7; |
4139 static const int kTrueValueRootIndex = 8; | 4139 static const int kTrueValueRootIndex = 8; |
4140 static const int kFalseValueRootIndex = 9; | 4140 static const int kFalseValueRootIndex = 9; |
4141 static const int kEmptySymbolRootIndex = 118; | 4141 static const int kEmptySymbolRootIndex = 119; |
4142 | 4142 |
4143 static const int kJSObjectType = 0xaa; | 4143 static const int kJSObjectType = 0xaa; |
4144 static const int kFirstNonstringType = 0x80; | 4144 static const int kFirstNonstringType = 0x80; |
4145 static const int kOddballType = 0x82; | 4145 static const int kOddballType = 0x82; |
4146 static const int kForeignType = 0x85; | 4146 static const int kForeignType = 0x85; |
4147 | 4147 |
4148 static const int kUndefinedOddballKind = 5; | 4148 static const int kUndefinedOddballKind = 5; |
4149 static const int kNullOddballKind = 3; | 4149 static const int kNullOddballKind = 3; |
4150 | 4150 |
4151 static inline bool HasHeapObjectTag(internal::Object* value) { | 4151 static inline bool HasHeapObjectTag(internal::Object* value) { |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4750 | 4750 |
4751 | 4751 |
4752 } // namespace v8 | 4752 } // namespace v8 |
4753 | 4753 |
4754 | 4754 |
4755 #undef V8EXPORT | 4755 #undef V8EXPORT |
4756 #undef TYPE_CHECK | 4756 #undef TYPE_CHECK |
4757 | 4757 |
4758 | 4758 |
4759 #endif // V8_H_ | 4759 #endif // V8_H_ |
OLD | NEW |