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

Side by Side Diff: include/v8.h

Issue 893073006: Add map-based read barrier to WeakCell Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge 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 | « no previous file | src/code-stubs-hydrogen.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 6197 matching lines...) Expand 10 before | Expand all | Expand 10 after
6208 4 * kApiPointerSize; 6208 4 * kApiPointerSize;
6209 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 6209 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
6210 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 6210 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
6211 static const int kIsolateRootsOffset = 6211 static const int kIsolateRootsOffset =
6212 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 6212 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
6213 kApiPointerSize; 6213 kApiPointerSize;
6214 static const int kUndefinedValueRootIndex = 5; 6214 static const int kUndefinedValueRootIndex = 5;
6215 static const int kNullValueRootIndex = 7; 6215 static const int kNullValueRootIndex = 7;
6216 static const int kTrueValueRootIndex = 8; 6216 static const int kTrueValueRootIndex = 8;
6217 static const int kFalseValueRootIndex = 9; 6217 static const int kFalseValueRootIndex = 9;
6218 static const int kEmptyStringRootIndex = 156; 6218 static const int kEmptyStringRootIndex = 157;
6219 6219
6220 // The external allocation limit should be below 256 MB on all architectures 6220 // The external allocation limit should be below 256 MB on all architectures
6221 // to avoid that resource-constrained embedders run low on memory. 6221 // to avoid that resource-constrained embedders run low on memory.
6222 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 6222 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
6223 6223
6224 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 6224 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
6225 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 6225 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
6226 static const int kNodeStateMask = 0x7; 6226 static const int kNodeStateMask = 0x7;
6227 static const int kNodeStateIsWeakValue = 2; 6227 static const int kNodeStateIsWeakValue = 2;
6228 static const int kNodeStateIsPendingValue = 3; 6228 static const int kNodeStateIsPendingValue = 3;
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
7502 */ 7502 */
7503 7503
7504 7504
7505 } // namespace v8 7505 } // namespace v8
7506 7506
7507 7507
7508 #undef TYPE_CHECK 7508 #undef TYPE_CHECK
7509 7509
7510 7510
7511 #endif // V8_H_ 7511 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698