Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 4a93b77bea0a0464f34019620748482535596294..ed78ecb67458506e004c88cd6d62163596bb7d77 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1333,6 +1333,7 @@ void FullCodeGenerator::VisitTryCatchStatement(TryCatchStatement* stmt) { |
{ Comment cmnt(masm_, "[ Extend catch context"); |
PushOperand(stmt->variable()->name()); |
PushOperand(result_register()); |
+ PushOperand(stmt->scope()->scope_info()); |
PushFunctionArgumentForContextAllocation(); |
CallRuntimeWithOperands(Runtime::kPushCatchContext); |
StoreToFrameField(StandardFrameConstants::kContextOffset, |