Index: src/codegen-arm.cc |
=================================================================== |
--- src/codegen-arm.cc (revision 984) |
+++ src/codegen-arm.cc (working copy) |
@@ -1274,7 +1274,11 @@ |
Comment cmnt(masm_, "[ WithEnterStatement"); |
if (FLAG_debug_info) 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; |
__ cmp(r0, Operand(cp)); |