Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index f0328547fde7d36b96449e31a106036f65e46363..e3070ee5d5e184d902fbfb27a8da64660d1d9ae8 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -614,6 +614,11 @@ class FullCodeGenerator: public AstVisitor { |
void EmitLoadHomeObject(SuperReference* expr); |
+ // Adds the [[HomeObject]] to |expr| if it is a FunctionLiteral. |
+ // The value of the expr is expected to be at the top of the stack. |
+ // |offset| is the offset in the stack where the home object can be found. |
+ void EmitSetHomeObject(Expression* expr, int offset); |
+ |
void EmitLoadSuperConstructor(SuperReference* expr); |
void CallIC(Handle<Code> code, |