| 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 5553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5564 static const int kStringEncodingMask = 0x4; | 5564 static const int kStringEncodingMask = 0x4; |
| 5565 static const int kExternalTwoByteRepresentationTag = 0x02; | 5565 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 5566 static const int kExternalAsciiRepresentationTag = 0x06; | 5566 static const int kExternalAsciiRepresentationTag = 0x06; |
| 5567 | 5567 |
| 5568 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 5568 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
| 5569 static const int kIsolateRootsOffset = 5 * kApiPointerSize; | 5569 static const int kIsolateRootsOffset = 5 * kApiPointerSize; |
| 5570 static const int kUndefinedValueRootIndex = 5; | 5570 static const int kUndefinedValueRootIndex = 5; |
| 5571 static const int kNullValueRootIndex = 7; | 5571 static const int kNullValueRootIndex = 7; |
| 5572 static const int kTrueValueRootIndex = 8; | 5572 static const int kTrueValueRootIndex = 8; |
| 5573 static const int kFalseValueRootIndex = 9; | 5573 static const int kFalseValueRootIndex = 9; |
| 5574 static const int kEmptyStringRootIndex = 145; | 5574 static const int kEmptyStringRootIndex = 146; |
| 5575 | 5575 |
| 5576 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5576 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
| 5577 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5577 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
| 5578 static const int kNodeStateMask = 0xf; | 5578 static const int kNodeStateMask = 0xf; |
| 5579 static const int kNodeStateIsWeakValue = 2; | 5579 static const int kNodeStateIsWeakValue = 2; |
| 5580 static const int kNodeStateIsPendingValue = 3; | 5580 static const int kNodeStateIsPendingValue = 3; |
| 5581 static const int kNodeStateIsNearDeathValue = 4; | 5581 static const int kNodeStateIsNearDeathValue = 4; |
| 5582 static const int kNodeIsIndependentShift = 4; | 5582 static const int kNodeIsIndependentShift = 4; |
| 5583 static const int kNodeIsPartiallyDependentShift = 5; | 5583 static const int kNodeIsPartiallyDependentShift = 5; |
| 5584 | 5584 |
| 5585 static const int kJSObjectType = 0xbb; | 5585 static const int kJSObjectType = 0xbc; |
| 5586 static const int kFirstNonstringType = 0x80; | 5586 static const int kFirstNonstringType = 0x80; |
| 5587 static const int kOddballType = 0x83; | 5587 static const int kOddballType = 0x83; |
| 5588 static const int kForeignType = 0x87; | 5588 static const int kForeignType = 0x88; |
| 5589 | 5589 |
| 5590 static const int kUndefinedOddballKind = 5; | 5590 static const int kUndefinedOddballKind = 5; |
| 5591 static const int kNullOddballKind = 3; | 5591 static const int kNullOddballKind = 3; |
| 5592 | 5592 |
| 5593 static const uint32_t kNumIsolateDataSlots = 4; | 5593 static const uint32_t kNumIsolateDataSlots = 4; |
| 5594 | 5594 |
| 5595 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); | 5595 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); |
| 5596 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { | 5596 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { |
| 5597 #ifdef V8_ENABLE_CHECKS | 5597 #ifdef V8_ENABLE_CHECKS |
| 5598 CheckInitializedImpl(isolate); | 5598 CheckInitializedImpl(isolate); |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6656 */ | 6656 */ |
| 6657 | 6657 |
| 6658 | 6658 |
| 6659 } // namespace v8 | 6659 } // namespace v8 |
| 6660 | 6660 |
| 6661 | 6661 |
| 6662 #undef TYPE_CHECK | 6662 #undef TYPE_CHECK |
| 6663 | 6663 |
| 6664 | 6664 |
| 6665 #endif // V8_H_ | 6665 #endif // V8_H_ |
| OLD | NEW |