| 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 5275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5286 static const int kEmptyStringRootIndex = 130; | 5286 static const int kEmptyStringRootIndex = 130; |
| 5287 | 5287 |
| 5288 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5288 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
| 5289 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5289 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
| 5290 static const int kNodeStateMask = 0xf; | 5290 static const int kNodeStateMask = 0xf; |
| 5291 static const int kNodeStateIsWeakValue = 2; | 5291 static const int kNodeStateIsWeakValue = 2; |
| 5292 static const int kNodeStateIsNearDeathValue = 4; | 5292 static const int kNodeStateIsNearDeathValue = 4; |
| 5293 static const int kNodeIsIndependentShift = 4; | 5293 static const int kNodeIsIndependentShift = 4; |
| 5294 static const int kNodeIsPartiallyDependentShift = 5; | 5294 static const int kNodeIsPartiallyDependentShift = 5; |
| 5295 | 5295 |
| 5296 static const int kJSObjectType = 0xae; | 5296 static const int kJSObjectType = 0xaf; |
| 5297 static const int kFirstNonstringType = 0x80; | 5297 static const int kFirstNonstringType = 0x80; |
| 5298 static const int kOddballType = 0x83; | 5298 static const int kOddballType = 0x83; |
| 5299 static const int kForeignType = 0x86; | 5299 static const int kForeignType = 0x87; |
| 5300 | 5300 |
| 5301 static const int kUndefinedOddballKind = 5; | 5301 static const int kUndefinedOddballKind = 5; |
| 5302 static const int kNullOddballKind = 3; | 5302 static const int kNullOddballKind = 3; |
| 5303 | 5303 |
| 5304 V8_INLINE(static bool HasHeapObjectTag(internal::Object* value)) { | 5304 V8_INLINE(static bool HasHeapObjectTag(internal::Object* value)) { |
| 5305 return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) == | 5305 return ((reinterpret_cast<intptr_t>(value) & kHeapObjectTagMask) == |
| 5306 kHeapObjectTag); | 5306 kHeapObjectTag); |
| 5307 } | 5307 } |
| 5308 | 5308 |
| 5309 V8_INLINE(static int SmiValue(internal::Object* value)) { | 5309 V8_INLINE(static int SmiValue(internal::Object* value)) { |
| (...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6292 | 6292 |
| 6293 | 6293 |
| 6294 } // namespace v8 | 6294 } // namespace v8 |
| 6295 | 6295 |
| 6296 | 6296 |
| 6297 #undef V8EXPORT | 6297 #undef V8EXPORT |
| 6298 #undef TYPE_CHECK | 6298 #undef TYPE_CHECK |
| 6299 | 6299 |
| 6300 | 6300 |
| 6301 #endif // V8_H_ | 6301 #endif // V8_H_ |
| OLD | NEW |