| Index: src/full-codegen.cc
|
| ===================================================================
|
| --- src/full-codegen.cc (revision 8462)
|
| +++ src/full-codegen.cc (working copy)
|
| @@ -956,7 +956,8 @@
|
| SetStatementPosition(stmt);
|
|
|
| VisitForStackValue(stmt->expression());
|
| - __ CallRuntime(Runtime::kPushWithContext, 1);
|
| + PushFunctionArgumentForContextAllocation();
|
| + __ CallRuntime(Runtime::kPushWithContext, 2);
|
| StoreToFrameField(StandardFrameConstants::kContextOffset, context_register());
|
| }
|
|
|
| @@ -1107,7 +1108,8 @@
|
| { Comment cmnt(masm_, "[ Extend catch context");
|
| __ Push(stmt->name());
|
| __ push(result_register());
|
| - __ CallRuntime(Runtime::kPushCatchContext, 2);
|
| + PushFunctionArgumentForContextAllocation();
|
| + __ CallRuntime(Runtime::kPushCatchContext, 3);
|
| StoreToFrameField(StandardFrameConstants::kContextOffset,
|
| context_register());
|
| }
|
|
|