Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 272448.339@safari-7618-branch (66df5c6). https://bugs.web…
…kit.org/show_bug.cgi?id=267946 ASSERTION FAILED: watchpoints (./runtime/ScopedArgumentsTable.cpp(130)) rdar://121446658 https://bugs.webkit.org/show_bug.cgi?id=267946 Reviewed by Alexey Shvayka. Insatead of using an ASSERT that we have a valid WatchpointSet in ScopedArgumentsTable::trySetWatchpointSet(), we can just exit early if the passed in WatchpointSet is null. This can happen if the JIT is not enabled. Updated the test to run both with and wothout the JIT. * JSTests/stress/arrow-function-captured-arguments-aliased.js: * Source/JavaScriptCore/runtime/ScopedArgumentsTable.cpp: (JSC::ScopedArgumentsTable::trySetWatchpointSet): Canonical link: https://commits.webkit.org/272448.339@safari-7618-branch Canonical link: https://commits.webkit.org/266719.402@webkitglib/2.42
- Loading branch information