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

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

Issue 1521953002: [proxies] fix access issue when having proxies on the prototype-chain of global objects. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ppc code mess Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/access-builder.cc
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc
index 273b9ca8461fb8302d54d521fc9efc424ae12754..181b1f03aa1a6b97d10a4b6c7f3c5039fe52ae5e 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -174,6 +174,14 @@ FieldAccess AccessBuilder::ForDescriptorArrayEnumCacheBridgeCache() {
// static
+FieldAccess AccessBuilder::ForMapBitField() {
+ FieldAccess access = {kTaggedBase, Map::kBitFieldOffset, Handle<Name>(),
+ TypeCache::Get().kUint8, MachineType::Uint8()};
+ return access;
+}
+
+
+// static
FieldAccess AccessBuilder::ForMapBitField3() {
FieldAccess access = {kTaggedBase, Map::kBitField3Offset, Handle<Name>(),
TypeCache::Get().kInt32, MachineType::Int32()};

Powered by Google App Engine
This is Rietveld 408576698