Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 8931) |
+++ src/factory.h (working copy) |
@@ -167,6 +167,11 @@ |
Handle<Context> previous, |
Handle<JSObject> extension); |
+ // Create a 'block' context. |
+ Handle<Context> NewBlockContext(Handle<JSFunction> function, |
+ Handle<Context> previous, |
+ Handle<SerializedScopeInfo> scope_info); |
+ |
// Return the Symbol matching the passed in string. |
Handle<String> SymbolFromString(Handle<String> value); |
@@ -277,6 +282,8 @@ |
Handle<Context> context, |
PretenureFlag pretenure = TENURED); |
+ Handle<SerializedScopeInfo> NewSerializedScopeInfo(int length); |
+ |
Handle<Code> NewCode(const CodeDesc& desc, |
Code::Flags flags, |
Handle<Object> self_reference, |