Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 55d1e9a174550ced4914035086a9eeec33540feb..b9bdfe46da124a68d2d6b37f05c3db5e5e48c4b5 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2010 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -144,10 +144,13 @@ class Factory { |
Handle<Context> NewFunctionContext(int length, |
Handle<JSFunction> closure); |
+ // Create a catch context. |
+ Handle<Context> NewCatchContext(Handle<Context> previous, |
+ Handle<JSObject> extension); |
+ |
// Create a 'with' context. |
Handle<Context> NewWithContext(Handle<Context> previous, |
- Handle<JSObject> extension, |
- bool is_catch_context); |
+ Handle<JSObject> extension); |
// Return the Symbol matching the passed in string. |
Handle<String> SymbolFromString(Handle<String> value); |