summaryrefslogtreecommitdiffstats
path: root/js/src/vm/AsyncFunction.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-13 20:59:32 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:25 -0500
commitd0d9a4f43dbd58c694c706b17996157fede20bdf (patch)
treedb9e4dce1b1c92b477720f1eba9a9ec04b3f8e2d /js/src/vm/AsyncFunction.h
parent79b5eb14bc5f8495d20147957cda5f4e5fc8186a (diff)
downloadUXP-d0d9a4f43dbd58c694c706b17996157fede20bdf.tar
UXP-d0d9a4f43dbd58c694c706b17996157fede20bdf.tar.gz
UXP-d0d9a4f43dbd58c694c706b17996157fede20bdf.tar.lz
UXP-d0d9a4f43dbd58c694c706b17996157fede20bdf.tar.xz
UXP-d0d9a4f43dbd58c694c706b17996157fede20bdf.zip
Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag #1287
Diffstat (limited to 'js/src/vm/AsyncFunction.h')
-rw-r--r--js/src/vm/AsyncFunction.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/src/vm/AsyncFunction.h b/js/src/vm/AsyncFunction.h
index d7f2c1311..de7c87d13 100644
--- a/js/src/vm/AsyncFunction.h
+++ b/js/src/vm/AsyncFunction.h
@@ -35,9 +35,6 @@ MOZ_MUST_USE bool
AsyncFunctionAwaitedRejected(JSContext* cx, Handle<PromiseObject*> resultPromise,
HandleValue generatorVal, HandleValue reason);
-MOZ_MUST_USE bool
-CheckAsyncResumptionValue(JSContext* cx, HandleValue v);
-
} // namespace js
#endif /* vm_AsyncFunction_h */