Index: src/hydrogen.cc |
=================================================================== |
--- src/hydrogen.cc (revision 9687) |
+++ src/hydrogen.cc (working copy) |
@@ -5964,7 +5964,8 @@ |
ASSERT(!HasStackOverflow()); |
ASSERT(current_block() != NULL); |
ASSERT(current_block()->HasPredecessor()); |
- HThisFunction* self = new(zone()) HThisFunction; |
+ HThisFunction* self = new(zone()) HThisFunction( |
+ function_state()->compilation_info()->closure()); |
return ast_context()->ReturnInstruction(self, expr->id()); |
} |