From d0d9a4f43dbd58c694c706b17996157fede20bdf Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Fri, 13 Dec 2019 20:59:32 -0500 Subject: Bug 1316098 - Optimize out result object allocation for await/return in async function. Tag #1287 --- js/src/doc/Debugger/Conventions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/src/doc') diff --git a/js/src/doc/Debugger/Conventions.md b/js/src/doc/Debugger/Conventions.md index e8bd3ee43..5de7bc171 100644 --- a/js/src/doc/Debugger/Conventions.md +++ b/js/src/doc/Debugger/Conventions.md @@ -110,8 +110,8 @@ resumption value has one of the following forms: the `new` expression returns the frame's `this` value. Similarly, if the function is the constructor for a subclass, then a non-object value may result in a TypeError. - If the frame is a generator or async function, then value must - conform to the iterator protocol: it must be a non-proxy object of the form + If the frame is a generator function, then value must conform to the + iterator protocol: it must be a non-proxy object of the form { done: boolean, value: v }, where both `done` and `value` are ordinary properties. -- cgit v1.2.3