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

Side by Side Diff: include/v8.h

Issue 1744163002: [stubs] Introduce a proper ToBooleanStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips Created 4 years, 9 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-factory.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 7146 matching lines...) Expand 10 before | Expand all | Expand 10 after
7157 */ 7157 */
7158 class Internals { 7158 class Internals {
7159 public: 7159 public:
7160 // These values match non-compiler-dependent values defined within 7160 // These values match non-compiler-dependent values defined within
7161 // the implementation of v8. 7161 // the implementation of v8.
7162 static const int kHeapObjectMapOffset = 0; 7162 static const int kHeapObjectMapOffset = 0;
7163 static const int kMapInstanceTypeAndBitFieldOffset = 7163 static const int kMapInstanceTypeAndBitFieldOffset =
7164 1 * kApiPointerSize + kApiIntSize; 7164 1 * kApiPointerSize + kApiIntSize;
7165 static const int kStringResourceOffset = 3 * kApiPointerSize; 7165 static const int kStringResourceOffset = 3 * kApiPointerSize;
7166 7166
7167 static const int kOddballKindOffset = 4 * kApiPointerSize; 7167 static const int kOddballKindOffset = 5 * kApiPointerSize;
7168 static const int kForeignAddressOffset = kApiPointerSize; 7168 static const int kForeignAddressOffset = kApiPointerSize;
7169 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; 7169 static const int kJSObjectHeaderSize = 3 * kApiPointerSize;
7170 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; 7170 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize;
7171 static const int kContextHeaderSize = 2 * kApiPointerSize; 7171 static const int kContextHeaderSize = 2 * kApiPointerSize;
7172 static const int kContextEmbedderDataIndex = 5; 7172 static const int kContextEmbedderDataIndex = 5;
7173 static const int kFullStringRepresentationMask = 0x07; 7173 static const int kFullStringRepresentationMask = 0x07;
7174 static const int kStringEncodingMask = 0x4; 7174 static const int kStringEncodingMask = 0x4;
7175 static const int kExternalTwoByteRepresentationTag = 0x02; 7175 static const int kExternalTwoByteRepresentationTag = 0x02;
7176 static const int kExternalOneByteRepresentationTag = 0x06; 7176 static const int kExternalOneByteRepresentationTag = 0x06;
7177 7177
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
8592 */ 8592 */
8593 8593
8594 8594
8595 } // namespace v8 8595 } // namespace v8
8596 8596
8597 8597
8598 #undef TYPE_CHECK 8598 #undef TYPE_CHECK
8599 8599
8600 8600
8601 #endif // INCLUDE_V8_H_ 8601 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698