| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
| 6 * | 6 * |
| 7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
| 8 * | 8 * |
| 9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
| 10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
| (...skipping 7319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7330 */ | 7330 */ |
| 7331 class Internals { | 7331 class Internals { |
| 7332 public: | 7332 public: |
| 7333 // These values match non-compiler-dependent values defined within | 7333 // These values match non-compiler-dependent values defined within |
| 7334 // the implementation of v8. | 7334 // the implementation of v8. |
| 7335 static const int kHeapObjectMapOffset = 0; | 7335 static const int kHeapObjectMapOffset = 0; |
| 7336 static const int kMapInstanceTypeAndBitFieldOffset = | 7336 static const int kMapInstanceTypeAndBitFieldOffset = |
| 7337 1 * kApiPointerSize + kApiIntSize; | 7337 1 * kApiPointerSize + kApiIntSize; |
| 7338 static const int kStringResourceOffset = 3 * kApiPointerSize; | 7338 static const int kStringResourceOffset = 3 * kApiPointerSize; |
| 7339 | 7339 |
| 7340 static const int kOddballKindOffset = 5 * kApiPointerSize; | 7340 static const int kOddballKindOffset = 5 * kApiPointerSize + sizeof(double); |
| 7341 static const int kForeignAddressOffset = kApiPointerSize; | 7341 static const int kForeignAddressOffset = kApiPointerSize; |
| 7342 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; | 7342 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; |
| 7343 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; | 7343 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; |
| 7344 static const int kContextHeaderSize = 2 * kApiPointerSize; | 7344 static const int kContextHeaderSize = 2 * kApiPointerSize; |
| 7345 static const int kContextEmbedderDataIndex = 5; | 7345 static const int kContextEmbedderDataIndex = 5; |
| 7346 static const int kFullStringRepresentationMask = 0x07; | 7346 static const int kFullStringRepresentationMask = 0x07; |
| 7347 static const int kStringEncodingMask = 0x4; | 7347 static const int kStringEncodingMask = 0x4; |
| 7348 static const int kExternalTwoByteRepresentationTag = 0x02; | 7348 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 7349 static const int kExternalOneByteRepresentationTag = 0x06; | 7349 static const int kExternalOneByteRepresentationTag = 0x06; |
| 7350 | 7350 |
| (...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8771 */ | 8771 */ |
| 8772 | 8772 |
| 8773 | 8773 |
| 8774 } // namespace v8 | 8774 } // namespace v8 |
| 8775 | 8775 |
| 8776 | 8776 |
| 8777 #undef TYPE_CHECK | 8777 #undef TYPE_CHECK |
| 8778 | 8778 |
| 8779 | 8779 |
| 8780 #endif // INCLUDE_V8_H_ | 8780 #endif // INCLUDE_V8_H_ |
| OLD | NEW |