Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: include/v8.h

Issue 895053002: Move the contents of api-natives.js to c++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 6164 matching lines...) Expand 10 before | Expand all | Expand 10 after
6175 static const int kHeapObjectMapOffset = 0; 6175 static const int kHeapObjectMapOffset = 0;
6176 static const int kMapInstanceTypeAndBitFieldOffset = 6176 static const int kMapInstanceTypeAndBitFieldOffset =
6177 1 * kApiPointerSize + kApiIntSize; 6177 1 * kApiPointerSize + kApiIntSize;
6178 static const int kStringResourceOffset = 3 * kApiPointerSize; 6178 static const int kStringResourceOffset = 3 * kApiPointerSize;
6179 6179
6180 static const int kOddballKindOffset = 3 * kApiPointerSize; 6180 static const int kOddballKindOffset = 3 * kApiPointerSize;
6181 static const int kForeignAddressOffset = kApiPointerSize; 6181 static const int kForeignAddressOffset = kApiPointerSize;
6182 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; 6182 static const int kJSObjectHeaderSize = 3 * kApiPointerSize;
6183 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; 6183 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize;
6184 static const int kContextHeaderSize = 2 * kApiPointerSize; 6184 static const int kContextHeaderSize = 2 * kApiPointerSize;
6185 static const int kContextEmbedderDataIndex = 76; 6185 static const int kContextEmbedderDataIndex = 74;
6186 static const int kFullStringRepresentationMask = 0x07; 6186 static const int kFullStringRepresentationMask = 0x07;
6187 static const int kStringEncodingMask = 0x4; 6187 static const int kStringEncodingMask = 0x4;
6188 static const int kExternalTwoByteRepresentationTag = 0x02; 6188 static const int kExternalTwoByteRepresentationTag = 0x02;
6189 static const int kExternalOneByteRepresentationTag = 0x06; 6189 static const int kExternalOneByteRepresentationTag = 0x06;
6190 6190
6191 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; 6191 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize;
6192 static const int kAmountOfExternalAllocatedMemoryOffset = 6192 static const int kAmountOfExternalAllocatedMemoryOffset =
6193 4 * kApiPointerSize; 6193 4 * kApiPointerSize;
6194 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 6194 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
6195 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 6195 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
7487 */ 7487 */
7488 7488
7489 7489
7490 } // namespace v8 7490 } // namespace v8
7491 7491
7492 7492
7493 #undef TYPE_CHECK 7493 #undef TYPE_CHECK
7494 7494
7495 7495
7496 #endif // V8_H_ 7496 #endif // V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698