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

Unified Diff: src/compiler/access-builder.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/effect-control-linearizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-builder.cc
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc
index 2722590c76b9486001777545ffd27efa8fae2d95..c8f32f74a5031c37c8dbb07d5e923f9992b729cd 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -422,6 +422,16 @@ FieldAccess AccessBuilder::ForDescriptorArrayEnumCacheBridgeCache() {
return access;
}
+// static
+FieldAccess AccessBuilder::ForDescriptorArrayEnumCacheBridgeIndicesCache() {
+ // TODO(bmeurer): Weird hack!
+ FieldAccess access = {
+ kTaggedBase, DescriptorArray::kEnumCacheBridgeIndicesCacheOffset,
+ Handle<Name>(), MaybeHandle<Map>(),
+ Type::Any(), MachineType::AnyTagged(),
+ kFullWriteBarrier};
+ return access;
+}
// static
FieldAccess AccessBuilder::ForMapBitField() {
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/effect-control-linearizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698