Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: src/factory.h

Issue 1027283004: [es6] do not add caller/arguments to ES6 function definitions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename variable, add some comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index ba6800b04d496e437429f744addbc0c340aa5669..c2bb42a21fe0f715b80d193d7440b8e1a4688e51 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -471,13 +471,13 @@ class Factory FINAL {
void BecomeJSObject(Handle<JSProxy> object);
void BecomeJSFunction(Handle<JSProxy> object);
- Handle<JSFunction> NewFunction(Handle<String> name,
- Handle<Code> code,
+ Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
Handle<Object> prototype,
- bool read_only_prototype = false);
+ bool read_only_prototype = false,
+ bool is_strict = false);
Handle<JSFunction> NewFunction(Handle<String> name);
- Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name,
- Handle<Code> code);
+ Handle<JSFunction> NewFunctionWithoutPrototype(
+ Handle<String> name, Handle<Code> code, bool is_strict = false);
Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
Handle<SharedFunctionInfo> function_info,
@@ -488,7 +488,8 @@ class Factory FINAL {
Handle<Object> prototype, InstanceType type,
int instance_size,
bool read_only_prototype = false,
- bool install_constructor = false);
+ bool install_constructor = false,
+ bool is_strict = false);
Handle<JSFunction> NewFunction(Handle<String> name,
Handle<Code> code,
InstanceType type,
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | src/factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698