| 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 4126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4137 static const int kExternalTwoByteRepresentationTag = 0x02; | 4137 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 4138 static const int kExternalAsciiRepresentationTag = 0x06; | 4138 static const int kExternalAsciiRepresentationTag = 0x06; |
| 4139 | 4139 |
| 4140 static const int kIsolateStateOffset = 0; | 4140 static const int kIsolateStateOffset = 0; |
| 4141 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | 4141 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; |
| 4142 static const int kIsolateRootsOffset = 3 * kApiPointerSize; | 4142 static const int kIsolateRootsOffset = 3 * kApiPointerSize; |
| 4143 static const int kUndefinedValueRootIndex = 5; | 4143 static const int kUndefinedValueRootIndex = 5; |
| 4144 static const int kNullValueRootIndex = 7; | 4144 static const int kNullValueRootIndex = 7; |
| 4145 static const int kTrueValueRootIndex = 8; | 4145 static const int kTrueValueRootIndex = 8; |
| 4146 static const int kFalseValueRootIndex = 9; | 4146 static const int kFalseValueRootIndex = 9; |
| 4147 static const int kEmptySymbolRootIndex = 118; | 4147 static const int kEmptySymbolRootIndex = 119; |
| 4148 | 4148 |
| 4149 static const int kJSObjectType = 0xaa; | 4149 static const int kJSObjectType = 0xaa; |
| 4150 static const int kFirstNonstringType = 0x80; | 4150 static const int kFirstNonstringType = 0x80; |
| 4151 static const int kOddballType = 0x82; | 4151 static const int kOddballType = 0x82; |
| 4152 static const int kForeignType = 0x85; | 4152 static const int kForeignType = 0x85; |
| 4153 | 4153 |
| 4154 static const int kUndefinedOddballKind = 5; | 4154 static const int kUndefinedOddballKind = 5; |
| 4155 static const int kNullOddballKind = 3; | 4155 static const int kNullOddballKind = 3; |
| 4156 | 4156 |
| 4157 static inline bool HasHeapObjectTag(internal::Object* value) { | 4157 static inline bool HasHeapObjectTag(internal::Object* value) { |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4772 | 4772 |
| 4773 | 4773 |
| 4774 } // namespace v8 | 4774 } // namespace v8 |
| 4775 | 4775 |
| 4776 | 4776 |
| 4777 #undef V8EXPORT | 4777 #undef V8EXPORT |
| 4778 #undef TYPE_CHECK | 4778 #undef TYPE_CHECK |
| 4779 | 4779 |
| 4780 | 4780 |
| 4781 #endif // V8_H_ | 4781 #endif // V8_H_ |
| OLD | NEW |