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

Side by Side Diff: include/v8.h

Issue 705663004: harmony_scoping: Implement lexical bindings at top level (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased patch for landing Created 6 years, 1 month 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/bootstrapper.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 6092 matching lines...) Expand 10 before | Expand all | Expand 10 after
6103 4 * kApiPointerSize; 6103 4 * kApiPointerSize;
6104 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 6104 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
6105 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 6105 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
6106 static const int kIsolateRootsOffset = 6106 static const int kIsolateRootsOffset =
6107 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 6107 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
6108 kApiPointerSize; 6108 kApiPointerSize;
6109 static const int kUndefinedValueRootIndex = 5; 6109 static const int kUndefinedValueRootIndex = 5;
6110 static const int kNullValueRootIndex = 7; 6110 static const int kNullValueRootIndex = 7;
6111 static const int kTrueValueRootIndex = 8; 6111 static const int kTrueValueRootIndex = 8;
6112 static const int kFalseValueRootIndex = 9; 6112 static const int kFalseValueRootIndex = 9;
6113 static const int kEmptyStringRootIndex = 154; 6113 static const int kEmptyStringRootIndex = 155;
6114 6114
6115 // The external allocation limit should be below 256 MB on all architectures 6115 // The external allocation limit should be below 256 MB on all architectures
6116 // to avoid that resource-constrained embedders run low on memory. 6116 // to avoid that resource-constrained embedders run low on memory.
6117 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 6117 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
6118 6118
6119 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 6119 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
6120 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 6120 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
6121 static const int kNodeStateMask = 0xf; 6121 static const int kNodeStateMask = 0xf;
6122 static const int kNodeStateIsWeakValue = 2; 6122 static const int kNodeStateIsWeakValue = 2;
6123 static const int kNodeStateIsPendingValue = 3; 6123 static const int kNodeStateIsPendingValue = 3;
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
7399 */ 7399 */
7400 7400
7401 7401
7402 } // namespace v8 7402 } // namespace v8
7403 7403
7404 7404
7405 #undef TYPE_CHECK 7405 #undef TYPE_CHECK
7406 7406
7407 7407
7408 #endif // V8_H_ 7408 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698