diff options
Diffstat (limited to 'deps/v8/src/factory.h')
-rw-r--r-- | deps/v8/src/factory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/src/factory.h b/deps/v8/src/factory.h index 3217ca906..a69b05b38 100644 --- a/deps/v8/src/factory.h +++ b/deps/v8/src/factory.h @@ -167,6 +167,11 @@ class Factory { 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 @@ class Factory { Handle<Context> context, PretenureFlag pretenure = TENURED); + Handle<SerializedScopeInfo> NewSerializedScopeInfo(int length); + Handle<Code> NewCode(const CodeDesc& desc, Code::Flags flags, Handle<Object> self_reference, |