Unreviewed, Fix jsc shell
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Apr 2018 12:35:40 +0000 (12:35 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Apr 2018 12:35:40 +0000 (12:35 +0000)
commitaa18aef67271716e0defd910b29b95ca3cbead50
tree640722032b5995263feadb34385993650770bac5
parent535bddc360c93dbd8c00c3325bc3048f87db93ad
Unreviewed, Fix jsc shell
https://bugs.webkit.org/show_bug.cgi?id=184600

WebAssembly module loading does not finish with drainMicrotasks().
So JSNativeStdFunction's capturing variables become invalid.
This patch fixes this issue.

* jsc.cpp:
(functionDollarAgentStart):
(runWithOptions):
(runJSC):
(jscmain):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jsc.cpp