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

Side by Side Diff: include/v8.h

Issue 614083002: Use symbols instead of hidden properties for i18n markers. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/factory.h » ('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 5862 matching lines...) Expand 10 before | Expand all | Expand 10 after
5873 4 * kApiPointerSize; 5873 4 * kApiPointerSize;
5874 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 5874 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
5875 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 5875 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
5876 static const int kIsolateRootsOffset = 5876 static const int kIsolateRootsOffset =
5877 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 5877 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
5878 kApiPointerSize; 5878 kApiPointerSize;
5879 static const int kUndefinedValueRootIndex = 5; 5879 static const int kUndefinedValueRootIndex = 5;
5880 static const int kNullValueRootIndex = 7; 5880 static const int kNullValueRootIndex = 7;
5881 static const int kTrueValueRootIndex = 8; 5881 static const int kTrueValueRootIndex = 8;
5882 static const int kFalseValueRootIndex = 9; 5882 static const int kFalseValueRootIndex = 9;
5883 static const int kEmptyStringRootIndex = 164; 5883 static const int kEmptyStringRootIndex = 152;
5884 5884
5885 // The external allocation limit should be below 256 MB on all architectures 5885 // The external allocation limit should be below 256 MB on all architectures
5886 // to avoid that resource-constrained embedders run low on memory. 5886 // to avoid that resource-constrained embedders run low on memory.
5887 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 5887 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
5888 5888
5889 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 5889 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
5890 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 5890 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
5891 static const int kNodeStateMask = 0xf; 5891 static const int kNodeStateMask = 0xf;
5892 static const int kNodeStateIsWeakValue = 2; 5892 static const int kNodeStateIsWeakValue = 2;
5893 static const int kNodeStateIsPendingValue = 3; 5893 static const int kNodeStateIsPendingValue = 3;
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
7009 */ 7009 */
7010 7010
7011 7011
7012 } // namespace v8 7012 } // namespace v8
7013 7013
7014 7014
7015 #undef TYPE_CHECK 7015 #undef TYPE_CHECK
7016 7016
7017 7017
7018 #endif // V8_H_ 7018 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698