Commit ff79c41
committed
[JSC] Use
https://bugs.webkit.org/show_bug.cgi?id=300190
Reviewed by Keith Miller.
This patch changes to use `tryMakeString` for error message on invalid
destructuring for avoiding crash.
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitRequireObjectCoercibleForDestructuring):
Canonical link: https://commits.webkit.org/301053@maintryMakeString for error message on invalid destructuring1 parent d46abac commit ff79c41
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4994 | 4994 | | |
4995 | 4995 | | |
4996 | 4996 | | |
4997 | | - | |
4998 | | - | |
4999 | | - | |
| 4997 | + | |
| 4998 | + | |
| 4999 | + | |
| 5000 | + | |
| 5001 | + | |
| 5002 | + | |
| 5003 | + | |
5000 | 5004 | | |
5001 | 5005 | | |
5002 | 5006 | | |
| |||
0 commit comments