summaryrefslogtreecommitdiff
path: root/js/src/vm/Stack.h
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-04-23 22:59:29 +0200
committerMartok <martok@martoks-place.de>2023-04-23 23:02:00 +0200
commitdd512188ed9a7f867cbc09fa717ddfce10baa138 (patch)
tree609e15e61112595ea7780acc380a1c543f127d20 /js/src/vm/Stack.h
parente2acdfd18d17a9364abd67361a17736ac10ce1ca (diff)
downloaduxp-dd512188ed9a7f867cbc09fa717ddfce10baa138.tar.gz
No issue - Correct handling of async (arrow) functions declared inside constructors
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1462353, but since we still support legacy generators, this only corrects the handling and leaves the newTarget plumbing intact.
Diffstat (limited to 'js/src/vm/Stack.h')
-rw-r--r--js/src/vm/Stack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/vm/Stack.h b/js/src/vm/Stack.h
index b0d29831a3..8c45d8d4d9 100644
--- a/js/src/vm/Stack.h
+++ b/js/src/vm/Stack.h
@@ -228,6 +228,7 @@ class AbstractFramePtr
inline Value calleev() const;
inline Value& thisArgument() const;
+ inline bool isConstructing() const;
inline Value newTarget() const;
inline bool debuggerNeedsCheckPrimitiveReturn() const;