| Index: src/codegen-ia32.cc
|
| ===================================================================
|
| --- src/codegen-ia32.cc (revision 984)
|
| +++ src/codegen-ia32.cc (working copy)
|
| @@ -1584,7 +1584,11 @@
|
| Comment cmnt(masm_, "[ WithEnterStatement");
|
| RecordStatementPosition(node);
|
| Load(node->expression());
|
| - __ CallRuntime(Runtime::kPushContext, 1);
|
| + if (node->is_catch_block()) {
|
| + __ CallRuntime(Runtime::kPushCatchContext, 1);
|
| + } else {
|
| + __ CallRuntime(Runtime::kPushContext, 1);
|
| + }
|
|
|
| if (kDebug) {
|
| Label verified_true;
|
|
|