Bug 165862 - WebAssembly: improve function parser control stack handling
Summary: WebAssembly: improve function parser control stack handling
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 163919
Blocks: 159775 165833
  Show dependency treegraph
 
Reported: 2016-12-14 12:55 PST by JF Bastien
Modified: 2020-01-24 09:18 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-12-14 12:55:35 PST
As a follow-up to bug #163919, add a macro WASM_TRY_APPEND_TO_CONTROL_STACK which handles growth cases for this type of code:
  m_controlStack.append({ WTFMove(m_expressionStack), control });

Note: as part of bug #165833 we may add a size limit for control stack depth.