Index: src/full-codegen/full-codegen.h |
diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h |
index 2a4eb9dd3b1a5802d44354be4f612704cdfc6286..f8786b919f1469469d7527e581525bbb283ba8a1 100644 |
--- a/src/full-codegen/full-codegen.h |
+++ b/src/full-codegen/full-codegen.h |
@@ -554,6 +554,12 @@ 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. |
+ // Expects the class in the accumulator. The class is in the accumulator when |
+ // returning. |
+ void EmitClassDefineNameProperty(ClassLiteral* lit); |
+ |
// Pushes the property key as a Name on the stack. |
void EmitPropertyKey(LiteralProperty* property, BailoutId bailout_id); |