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

Side by Side Diff: include/v8.h

Issue 475423003: Implement Function.prototype.toMethod. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 6 years, 4 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 | « BUILD.gn ('k') | src/bootstrapper.cc » ('j') | src/objects.cc » ('J')
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 5603 matching lines...) Expand 10 before | Expand all | Expand 10 after
5614 4 * kApiPointerSize; 5614 4 * kApiPointerSize;
5615 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = 5615 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset =
5616 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; 5616 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size;
5617 static const int kIsolateRootsOffset = 5617 static const int kIsolateRootsOffset =
5618 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + 5618 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size +
5619 kApiPointerSize; 5619 kApiPointerSize;
5620 static const int kUndefinedValueRootIndex = 5; 5620 static const int kUndefinedValueRootIndex = 5;
5621 static const int kNullValueRootIndex = 7; 5621 static const int kNullValueRootIndex = 7;
5622 static const int kTrueValueRootIndex = 8; 5622 static const int kTrueValueRootIndex = 8;
5623 static const int kFalseValueRootIndex = 9; 5623 static const int kFalseValueRootIndex = 9;
5624 static const int kEmptyStringRootIndex = 161; 5624 static const int kEmptyStringRootIndex = 162;
5625 5625
5626 // The external allocation limit should be below 256 MB on all architectures 5626 // The external allocation limit should be below 256 MB on all architectures
5627 // to avoid that resource-constrained embedders run low on memory. 5627 // to avoid that resource-constrained embedders run low on memory.
5628 static const int kExternalAllocationLimit = 192 * 1024 * 1024; 5628 static const int kExternalAllocationLimit = 192 * 1024 * 1024;
5629 5629
5630 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 5630 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
5631 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 5631 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
5632 static const int kNodeStateMask = 0xf; 5632 static const int kNodeStateMask = 0xf;
5633 static const int kNodeStateIsWeakValue = 2; 5633 static const int kNodeStateIsWeakValue = 2;
5634 static const int kNodeStateIsPendingValue = 3; 5634 static const int kNodeStateIsPendingValue = 3;
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
6742 */ 6742 */
6743 6743
6744 6744
6745 } // namespace v8 6745 } // namespace v8
6746 6746
6747 6747
6748 #undef TYPE_CHECK 6748 #undef TYPE_CHECK
6749 6749
6750 6750
6751 #endif // V8_H_ 6751 #endif // V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/bootstrapper.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698