Commit dbbd4be
[emulator] Stop after a call stub/hook requests a stop
In the CALL/CALL_STACK_ADJUST/TAILCALL cases, a builtin stub or the call hook
can request a stop (e.g. on an error) while returning false, but the code only
checked the boolean return and fell through into the call/tailcall path,
executing further despite the pending stop. Check m_stopReason after the stub
and hook handling and return if a stop was requested.
Addresses bdash review comment on PR #8314.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3beaa12 commit dbbd4be
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1888 | 1888 | | |
1889 | 1889 | | |
1890 | 1890 | | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
1891 | 1896 | | |
1892 | 1897 | | |
1893 | 1898 | | |
| |||
1939 | 1944 | | |
1940 | 1945 | | |
1941 | 1946 | | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
1942 | 1952 | | |
1943 | 1953 | | |
1944 | 1954 | | |
| |||
1980 | 1990 | | |
1981 | 1991 | | |
1982 | 1992 | | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1983 | 1998 | | |
1984 | 1999 | | |
1985 | 2000 | | |
| |||
0 commit comments