summaryrefslogtreecommitdiffstats
path: root/js/src/vm/AsyncFunction.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-16 09:04:55 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-16 09:04:55 +0100
commit28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e (patch)
tree3565ccfc38a6ea0f86c1bfbe5751dee60be602b7 /js/src/vm/AsyncFunction.h
parent11bdaa144d8a38ecd897dde278cb1db9b8313961 (diff)
downloadUXP-28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e.tar
UXP-28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e.tar.gz
UXP-28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e.tar.lz
UXP-28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e.tar.xz
UXP-28d4e4a5fa5ba7a22d3497769fbb5a9d11db7a9e.zip
Bug 1318017: Call GetPrototypeFromConstructor for generator/async function and Intl constructors
[Depends on] Bug 755821: Function() should use the parser's argument parsing code
Diffstat (limited to 'js/src/vm/AsyncFunction.h')
-rw-r--r--js/src/vm/AsyncFunction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/vm/AsyncFunction.h b/js/src/vm/AsyncFunction.h
index ddf81a177..d7f2c1311 100644
--- a/js/src/vm/AsyncFunction.h
+++ b/js/src/vm/AsyncFunction.h
@@ -22,6 +22,9 @@ bool
IsWrappedAsyncFunction(JSFunction* fun);
JSObject*
+WrapAsyncFunctionWithProto(JSContext* cx, HandleFunction unwrapped, HandleObject proto);
+
+JSObject*
WrapAsyncFunction(JSContext* cx, HandleFunction unwrapped);
MOZ_MUST_USE bool