Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 1aeb86196cb1196f537908ce916b8c424d8dc36f..db63d66bfa975e4929533214555e766f4603a5bf 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -563,6 +563,10 @@ class FullCodeGenerator: public AstVisitor { |
// The receiver and the key is left on the stack by the IC. |
void EmitKeyedPropertyLoad(Property* expr); |
+ // Adds the properties to the class (function) object and to its prototype. |
+ // Expects the class (function) in the accumulator. |
Dmitry Lomov (no reviews)
2014/10/27 21:37:13
Nit: add a comment that accumulator contains const
arv (Not doing code reviews)
2014/10/28 09:42:00
Done.
Dmitry Lomov (no reviews)
2014/10/28 10:34:08
Acknowledged.
|
+ void EmitClassDefineProperties(ClassLiteral* lit); |
+ |
// Apply the compound assignment operator. Expects the left operand on top |
// of the stack and the right one in the accumulator. |
void EmitBinaryOp(BinaryOperation* expr, |