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

Side by Side Diff: src/objects.h

Issue 7064029: Migrate flags from bit_field2 to bit_field3 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: just migrate a single flag Created 9 years, 7 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/objects.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3971 matching lines...) Expand 10 before | Expand all | Expand 10 after
3982 static const int kIsUndetectable = 5; 3982 static const int kIsUndetectable = 5;
3983 static const int kHasInstanceCallHandler = 6; 3983 static const int kHasInstanceCallHandler = 6;
3984 static const int kIsAccessCheckNeeded = 7; 3984 static const int kIsAccessCheckNeeded = 7;
3985 3985
3986 // Bit positions for bit field 2 3986 // Bit positions for bit field 2
3987 static const int kIsExtensible = 0; 3987 static const int kIsExtensible = 0;
3988 static const int kFunctionWithPrototype = 1; 3988 static const int kFunctionWithPrototype = 1;
3989 static const int kHasFastElements = 2; 3989 static const int kHasFastElements = 2;
3990 static const int kStringWrapperSafeForDefaultValueOf = 3; 3990 static const int kStringWrapperSafeForDefaultValueOf = 3;
3991 static const int kAttachedToSharedFunctionInfo = 4; 3991 static const int kAttachedToSharedFunctionInfo = 4;
3992 static const int kIsShared = 5; 3992 static const int kHasExternalArrayElements = 5;
3993 static const int kHasExternalArrayElements = 6; 3993
3994 // Bit positions for bit field 3
3995 static const int kIsShared = 1;
3994 3996
3995 // Layout of the default cache. It holds alternating name and code objects. 3997 // Layout of the default cache. It holds alternating name and code objects.
3996 static const int kCodeCacheEntrySize = 2; 3998 static const int kCodeCacheEntrySize = 2;
3997 static const int kCodeCacheEntryNameOffset = 0; 3999 static const int kCodeCacheEntryNameOffset = 0;
3998 static const int kCodeCacheEntryCodeOffset = 1; 4000 static const int kCodeCacheEntryCodeOffset = 1;
3999 4001
4000 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset, 4002 typedef FixedBodyDescriptor<kPointerFieldsBeginOffset,
4001 kPointerFieldsEndOffset, 4003 kPointerFieldsEndOffset,
4002 kSize> BodyDescriptor; 4004 kSize> BodyDescriptor;
4003 4005
(...skipping 2823 matching lines...) Expand 10 before | Expand all | Expand 10 after
6827 } else { 6829 } else {
6828 value &= ~(1 << bit_position); 6830 value &= ~(1 << bit_position);
6829 } 6831 }
6830 return value; 6832 return value;
6831 } 6833 }
6832 }; 6834 };
6833 6835
6834 } } // namespace v8::internal 6836 } } // namespace v8::internal
6835 6837
6836 #endif // V8_OBJECTS_H_ 6838 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698