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

Side by Side Diff: include/v8.h

Issue 1922443002: [turbofan] Introduce Oddball::to_number_raw and use it for change lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/compiler/change-lowering.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 7319 matching lines...) Expand 10 before | Expand all | Expand 10 after
7330 */ 7330 */
7331 class Internals { 7331 class Internals {
7332 public: 7332 public:
7333 // These values match non-compiler-dependent values defined within 7333 // These values match non-compiler-dependent values defined within
7334 // the implementation of v8. 7334 // the implementation of v8.
7335 static const int kHeapObjectMapOffset = 0; 7335 static const int kHeapObjectMapOffset = 0;
7336 static const int kMapInstanceTypeAndBitFieldOffset = 7336 static const int kMapInstanceTypeAndBitFieldOffset =
7337 1 * kApiPointerSize + kApiIntSize; 7337 1 * kApiPointerSize + kApiIntSize;
7338 static const int kStringResourceOffset = 3 * kApiPointerSize; 7338 static const int kStringResourceOffset = 3 * kApiPointerSize;
7339 7339
7340 static const int kOddballKindOffset = 5 * kApiPointerSize; 7340 static const int kOddballKindOffset = 5 * kApiPointerSize + sizeof(double);
7341 static const int kForeignAddressOffset = kApiPointerSize; 7341 static const int kForeignAddressOffset = kApiPointerSize;
7342 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; 7342 static const int kJSObjectHeaderSize = 3 * kApiPointerSize;
7343 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; 7343 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize;
7344 static const int kContextHeaderSize = 2 * kApiPointerSize; 7344 static const int kContextHeaderSize = 2 * kApiPointerSize;
7345 static const int kContextEmbedderDataIndex = 5; 7345 static const int kContextEmbedderDataIndex = 5;
7346 static const int kFullStringRepresentationMask = 0x07; 7346 static const int kFullStringRepresentationMask = 0x07;
7347 static const int kStringEncodingMask = 0x4; 7347 static const int kStringEncodingMask = 0x4;
7348 static const int kExternalTwoByteRepresentationTag = 0x02; 7348 static const int kExternalTwoByteRepresentationTag = 0x02;
7349 static const int kExternalOneByteRepresentationTag = 0x06; 7349 static const int kExternalOneByteRepresentationTag = 0x06;
7350 7350
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
8771 */ 8771 */
8772 8772
8773 8773
8774 } // namespace v8 8774 } // namespace v8
8775 8775
8776 8776
8777 #undef TYPE_CHECK 8777 #undef TYPE_CHECK
8778 8778
8779 8779
8780 #endif // INCLUDE_V8_H_ 8780 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/change-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698