Chromium Code Reviews

Unified Diff: src/property.h

Issue 2598543003: [runtime][ic] Constant field tracking support. (Closed)
Patch Set: Rebasing Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/property.h
diff --git a/src/property.h b/src/property.h
index 779afeeac5275a1fa1f66408dea2b5478a359514..ab183d9e9fd46f424574c18d69b075a1190fb96c 100644
--- a/src/property.h
+++ b/src/property.h
@@ -44,6 +44,10 @@ class Descriptor final BASE_EMBEDDED {
value->OptimalRepresentation(), 0);
}
+ static Descriptor DataConstant(Handle<Name> key, int field_index,
+ Handle<Object> value,
+ PropertyAttributes attributes);
+
static Descriptor AccessorConstant(Handle<Name> key, Handle<Object> foreign,
PropertyAttributes attributes) {
return Descriptor(key, foreign, kAccessor, attributes, kDescriptor, kConst,

Powered by Google App Engine