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

Side by Side Diff: src/objects.h

Issue 2763533002: [WIP] JSForInLowering and JSForInHasOwnProperty.
Patch Set: Hack around the issue with indices not being available always. Created 3 years, 9 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 | « src/compiler/verifier.cc ('k') | src/v8.gyp » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 3158 matching lines...) Expand 10 before | Expand all | Expand 10 after
3169 static const int kEnumCacheBridgeCacheIndex = 0; 3169 static const int kEnumCacheBridgeCacheIndex = 0;
3170 static const int kEnumCacheBridgeIndicesCacheIndex = 1; 3170 static const int kEnumCacheBridgeIndicesCacheIndex = 1;
3171 3171
3172 // Layout description. 3172 // Layout description.
3173 static const int kDescriptorLengthOffset = FixedArray::kHeaderSize; 3173 static const int kDescriptorLengthOffset = FixedArray::kHeaderSize;
3174 static const int kEnumCacheOffset = kDescriptorLengthOffset + kPointerSize; 3174 static const int kEnumCacheOffset = kDescriptorLengthOffset + kPointerSize;
3175 static const int kFirstOffset = kEnumCacheOffset + kPointerSize; 3175 static const int kFirstOffset = kEnumCacheOffset + kPointerSize;
3176 3176
3177 // Layout description for the bridge array. 3177 // Layout description for the bridge array.
3178 static const int kEnumCacheBridgeCacheOffset = FixedArray::kHeaderSize; 3178 static const int kEnumCacheBridgeCacheOffset = FixedArray::kHeaderSize;
3179 static const int kEnumCacheBridgeIndicesCacheOffset =
3180 kEnumCacheBridgeCacheOffset + kPointerSize;
3179 3181
3180 // Layout of descriptor. 3182 // Layout of descriptor.
3181 // Naming is consistent with Dictionary classes for easy templating. 3183 // Naming is consistent with Dictionary classes for easy templating.
3182 static const int kEntryKeyIndex = 0; 3184 static const int kEntryKeyIndex = 0;
3183 static const int kEntryDetailsIndex = 1; 3185 static const int kEntryDetailsIndex = 1;
3184 static const int kEntryValueIndex = 2; 3186 static const int kEntryValueIndex = 2;
3185 static const int kEntrySize = 3; 3187 static const int kEntrySize = 3;
3186 3188
3187 #if defined(DEBUG) || defined(OBJECT_PRINT) 3189 #if defined(DEBUG) || defined(OBJECT_PRINT)
3188 // For our gdb macros, we should perhaps change these in the future. 3190 // For our gdb macros, we should perhaps change these in the future.
(...skipping 8399 matching lines...) Expand 10 before | Expand all | Expand 10 after
11588 } 11590 }
11589 }; 11591 };
11590 11592
11591 11593
11592 } // NOLINT, false-positive due to second-order macros. 11594 } // NOLINT, false-positive due to second-order macros.
11593 } // NOLINT, false-positive due to second-order macros. 11595 } // NOLINT, false-positive due to second-order macros.
11594 11596
11595 #include "src/objects/object-macros-undef.h" 11597 #include "src/objects/object-macros-undef.h"
11596 11598
11597 #endif // V8_OBJECTS_H_ 11599 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698