Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 7630) |
+++ src/runtime.cc (working copy) |
@@ -10485,7 +10485,7 @@ |
// Recursively copy the with contexts. |
Handle<Context> previous(context_chain->previous()); |
Handle<JSObject> extension(JSObject::cast(context_chain->extension())); |
- Handle<Context> context = CopyWithContextChain(function_context, previous); |
+ Handle<Context> context = CopyWithContextChain(previous, function_context); |
return context->GetIsolate()->factory()->NewWithContext( |
context, extension, context_chain->IsCatchContext()); |
} |