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

Side by Side Diff: include/v8.h

Issue 22601003: Out-of-line constant pool on Arm: Stage 2 - Introduce ConstantPoolArray object. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « no previous file | src/globals.h » ('j') | src/heap.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5449 matching lines...) Expand 10 before | Expand all | Expand 10 after
5460 static const int kStringEncodingMask = 0x4; 5460 static const int kStringEncodingMask = 0x4;
5461 static const int kExternalTwoByteRepresentationTag = 0x02; 5461 static const int kExternalTwoByteRepresentationTag = 0x02;
5462 static const int kExternalAsciiRepresentationTag = 0x06; 5462 static const int kExternalAsciiRepresentationTag = 0x06;
5463 5463
5464 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; 5464 static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize;
5465 static const int kIsolateRootsOffset = 3 * kApiPointerSize; 5465 static const int kIsolateRootsOffset = 3 * kApiPointerSize;
5466 static const int kUndefinedValueRootIndex = 5; 5466 static const int kUndefinedValueRootIndex = 5;
5467 static const int kNullValueRootIndex = 7; 5467 static const int kNullValueRootIndex = 7;
5468 static const int kTrueValueRootIndex = 8; 5468 static const int kTrueValueRootIndex = 8;
5469 static const int kFalseValueRootIndex = 9; 5469 static const int kFalseValueRootIndex = 9;
5470 static const int kEmptyStringRootIndex = 133; 5470 static const int kEmptyStringRootIndex = 134;
5471 5471
5472 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 5472 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
5473 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 5473 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
5474 static const int kNodeStateMask = 0xf; 5474 static const int kNodeStateMask = 0xf;
5475 static const int kNodeStateIsWeakValue = 2; 5475 static const int kNodeStateIsWeakValue = 2;
5476 static const int kNodeStateIsPendingValue = 3; 5476 static const int kNodeStateIsPendingValue = 3;
5477 static const int kNodeStateIsNearDeathValue = 4; 5477 static const int kNodeStateIsNearDeathValue = 4;
5478 static const int kNodeIsIndependentShift = 4; 5478 static const int kNodeIsIndependentShift = 4;
5479 static const int kNodeIsPartiallyDependentShift = 5; 5479 static const int kNodeIsPartiallyDependentShift = 5;
5480 5480
5481 static const int kJSObjectType = 0xb1; 5481 static const int kJSObjectType = 0xb2;
5482 static const int kFirstNonstringType = 0x80; 5482 static const int kFirstNonstringType = 0x80;
5483 static const int kOddballType = 0x83; 5483 static const int kOddballType = 0x83;
5484 static const int kForeignType = 0x87; 5484 static const int kForeignType = 0x87;
5485 5485
5486 static const int kUndefinedOddballKind = 5; 5486 static const int kUndefinedOddballKind = 5;
5487 static const int kNullOddballKind = 3; 5487 static const int kNullOddballKind = 3;
5488 5488
5489 static void CheckInitializedImpl(v8::Isolate* isolate); 5489 static void CheckInitializedImpl(v8::Isolate* isolate);
5490 V8_INLINE(static void CheckInitialized(v8::Isolate* isolate)) { 5490 V8_INLINE(static void CheckInitialized(v8::Isolate* isolate)) {
5491 #ifdef V8_ENABLE_CHECKS 5491 #ifdef V8_ENABLE_CHECKS
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
6556 6556
6557 6557
6558 } // namespace v8 6558 } // namespace v8
6559 6559
6560 6560
6561 #undef V8EXPORT 6561 #undef V8EXPORT
6562 #undef TYPE_CHECK 6562 #undef TYPE_CHECK
6563 6563
6564 6564
6565 #endif // V8_H_ 6565 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/globals.h » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698