Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index c33685cfd17018f5280476c825558c4eaf3167a6..3301b93ca72adb07b6441ab320179fc32109cf04 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -555,6 +555,10 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> { |
// in the accumulator after installing all the properties. |
void EmitClassDefineProperties(ClassLiteral* lit); |
+ // Adds a static 'name' property to the class (function) object unless an |
+ // equally-named static property already exists. |
+ void EmitClassDefineNameProperty(ClassLiteral* lit); |
+ |
// Pushes the property key as a Name on the stack. |
void EmitPropertyKey(LiteralProperty* property, BailoutId bailout_id); |