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

Side by Side Diff: include/v8.h

Issue 2151163002: [stubs] Improve code generation for ToBoolean. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Fix redness. Created 4 years, 5 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/builtins/builtins.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 7535 matching lines...) Expand 10 before | Expand all | Expand 10 after
7546 */ 7546 */
7547 class Internals { 7547 class Internals {
7548 public: 7548 public:
7549 // These values match non-compiler-dependent values defined within 7549 // These values match non-compiler-dependent values defined within
7550 // the implementation of v8. 7550 // the implementation of v8.
7551 static const int kHeapObjectMapOffset = 0; 7551 static const int kHeapObjectMapOffset = 0;
7552 static const int kMapInstanceTypeAndBitFieldOffset = 7552 static const int kMapInstanceTypeAndBitFieldOffset =
7553 1 * kApiPointerSize + kApiIntSize; 7553 1 * kApiPointerSize + kApiIntSize;
7554 static const int kStringResourceOffset = 3 * kApiPointerSize; 7554 static const int kStringResourceOffset = 3 * kApiPointerSize;
7555 7555
7556 static const int kOddballKindOffset = 5 * kApiPointerSize + sizeof(double); 7556 static const int kOddballKindOffset = 4 * kApiPointerSize + sizeof(double);
7557 static const int kForeignAddressOffset = kApiPointerSize; 7557 static const int kForeignAddressOffset = kApiPointerSize;
7558 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; 7558 static const int kJSObjectHeaderSize = 3 * kApiPointerSize;
7559 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; 7559 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize;
7560 static const int kContextHeaderSize = 2 * kApiPointerSize; 7560 static const int kContextHeaderSize = 2 * kApiPointerSize;
7561 static const int kContextEmbedderDataIndex = 5; 7561 static const int kContextEmbedderDataIndex = 5;
7562 static const int kFullStringRepresentationMask = 0x07; 7562 static const int kFullStringRepresentationMask = 0x07;
7563 static const int kStringEncodingMask = 0x4; 7563 static const int kStringEncodingMask = 0x4;
7564 static const int kExternalTwoByteRepresentationTag = 0x02; 7564 static const int kExternalTwoByteRepresentationTag = 0x02;
7565 static const int kExternalOneByteRepresentationTag = 0x06; 7565 static const int kExternalOneByteRepresentationTag = 0x06;
7566 7566
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
8946 */ 8946 */
8947 8947
8948 8948
8949 } // namespace v8 8949 } // namespace v8
8950 8950
8951 8951
8952 #undef TYPE_CHECK 8952 #undef TYPE_CHECK
8953 8953
8954 8954
8955 #endif // INCLUDE_V8_H_ 8955 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698