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

Side by Side Diff: include/v8.h

Issue 871253005: Use weak cells in dependent code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments 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/compiler.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 6235 matching lines...) Expand 10 before | Expand all | Expand 10 after
6246 4 * kApiPointerSize; 6246 4 * kApiPointerSize;
6247 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 6247 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
6248 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 6248 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
6249 static const int kIsolateRootsOffset = 6249 static const int kIsolateRootsOffset =
6250 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 6250 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
6251 kApiPointerSize; 6251 kApiPointerSize;
6252 static const int kUndefinedValueRootIndex = 5; 6252 static const int kUndefinedValueRootIndex = 5;
6253 static const int kNullValueRootIndex = 7; 6253 static const int kNullValueRootIndex = 7;
6254 static const int kTrueValueRootIndex = 8; 6254 static const int kTrueValueRootIndex = 8;
6255 static const int kFalseValueRootIndex = 9; 6255 static const int kFalseValueRootIndex = 9;
6256 static const int kEmptyStringRootIndex = 154; 6256 static const int kEmptyStringRootIndex = 155;
6257 6257
6258 // The external allocation limit should be below 256 MB on all architectures 6258 // The external allocation limit should be below 256 MB on all architectures
6259 // to avoid that resource-constrained embedders run low on memory. 6259 // to avoid that resource-constrained embedders run low on memory.
6260 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 6260 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
6261 6261
6262 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 6262 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
6263 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 6263 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
6264 static const int kNodeStateMask = 0x7; 6264 static const int kNodeStateMask = 0x7;
6265 static const int kNodeStateIsWeakValue = 2; 6265 static const int kNodeStateIsWeakValue = 2;
6266 static const int kNodeStateIsPendingValue = 3; 6266 static const int kNodeStateIsPendingValue = 3;
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
7540 */ 7540 */
7541 7541
7542 7542
7543 } // namespace v8 7543 } // namespace v8
7544 7544
7545 7545
7546 #undef TYPE_CHECK 7546 #undef TYPE_CHECK
7547 7547
7548 7548
7549 #endif // V8_H_ 7549 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698