Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index ebe57c08aedcae3297e16dbdcf7f06a9490f4899..2c100a4940e69124aace22c35c8636d9c88a4400 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -250,10 +250,11 @@ Handle<Context> Factory::NewFunctionContext(int length, |
Handle<Context> Factory::NewCatchContext(Handle<Context> previous, |
- Handle<JSObject> extension) { |
+ Handle<String> name, |
+ Handle<Object> thrown_object) { |
CALL_HEAP_FUNCTION( |
isolate(), |
- isolate()->heap()->AllocateCatchContext(*previous, *extension), |
+ isolate()->heap()->AllocateCatchContext(*previous, *name, *thrown_object), |
Context); |
} |