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

Side by Side Diff: include/v8.h

Issue 2581683003: Introduce {ConstantElementsPair} struct for type safety. (Closed)
Patch Set: Rebased. Created 4 years 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/ast/ast.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 8335 matching lines...) Expand 10 before | Expand all | Expand 10 after
8346 8346
8347 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 8347 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
8348 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 8348 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
8349 static const int kNodeStateMask = 0x7; 8349 static const int kNodeStateMask = 0x7;
8350 static const int kNodeStateIsWeakValue = 2; 8350 static const int kNodeStateIsWeakValue = 2;
8351 static const int kNodeStateIsPendingValue = 3; 8351 static const int kNodeStateIsPendingValue = 3;
8352 static const int kNodeStateIsNearDeathValue = 4; 8352 static const int kNodeStateIsNearDeathValue = 4;
8353 static const int kNodeIsIndependentShift = 3; 8353 static const int kNodeIsIndependentShift = 3;
8354 static const int kNodeIsActiveShift = 4; 8354 static const int kNodeIsActiveShift = 4;
8355 8355
8356 static const int kJSObjectType = 0xbd; 8356 static const int kJSObjectType = 0xbe;
8357 static const int kJSApiObjectType = 0xbc; 8357 static const int kJSApiObjectType = 0xbd;
8358 static const int kFirstNonstringType = 0x80; 8358 static const int kFirstNonstringType = 0x80;
8359 static const int kOddballType = 0x83; 8359 static const int kOddballType = 0x83;
8360 static const int kForeignType = 0x87; 8360 static const int kForeignType = 0x87;
8361 8361
8362 static const int kUndefinedOddballKind = 5; 8362 static const int kUndefinedOddballKind = 5;
8363 static const int kNullOddballKind = 3; 8363 static const int kNullOddballKind = 3;
8364 8364
8365 static const uint32_t kNumIsolateDataSlots = 4; 8365 static const uint32_t kNumIsolateDataSlots = 4;
8366 8366
8367 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); 8367 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate);
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
9704 */ 9704 */
9705 9705
9706 9706
9707 } // namespace v8 9707 } // namespace v8
9708 9708
9709 9709
9710 #undef TYPE_CHECK 9710 #undef TYPE_CHECK
9711 9711
9712 9712
9713 #endif // INCLUDE_V8_H_ 9713 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698