aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/genop.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-12-05 14:01:38 +0100
committerBjörn Gustavsson <[email protected]>2018-12-05 14:07:04 +0100
commitb3bd35ccd0004d59e478308df3bc85c351557f3c (patch)
treedd3c7bab42456c42404e9429c6c85b83a7c52aac /lib/compiler/src/genop.tab
parent8caf018e460ca1efbe0df41aa042cf1d25c62dd3 (diff)
downloadotp-b3bd35ccd0004d59e478308df3bc85c351557f3c.tar.gz
otp-b3bd35ccd0004d59e478308df3bc85c351557f3c.tar.bz2
otp-b3bd35ccd0004d59e478308df3bc85c351557f3c.zip
Fix unsafe optimization of stack trace building
The `sys_core_fold` pass of the compiler would optimize away the building of the stacktrace in code such as: try ... catch C:R:Stk -> erlang:raise(C, {R,Stk}, Stk) end That optimization is unsafe and would cause a crash in a later compiler pass.
Diffstat (limited to 'lib/compiler/src/genop.tab')
0 files changed, 0 insertions, 0 deletions