aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/v3_kernel.hrl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-12-06 11:58:45 +0100
committerBjörn Gustavsson <[email protected]>2017-12-07 10:09:35 +0100
commit087d9f36758c143d356c1b951ee8044f7bbe554a (patch)
tree26cad439927a9a0ed3bd9a01abee9aba93208b80 /lib/compiler/src/v3_kernel.hrl
parentf5ed607f52aebe66554e0b762a2ea5452a38ceea (diff)
downloadotp-087d9f36758c143d356c1b951ee8044f7bbe554a.tar.gz
otp-087d9f36758c143d356c1b951ee8044f7bbe554a.tar.bz2
otp-087d9f36758c143d356c1b951ee8044f7bbe554a.zip
v3_codegen: Simplify #k_guard_break{}
It turns out that we don't need to keep track of locked variables, because the locked variables are always the same variables that will be alive after a #k_guard_break{}.
Diffstat (limited to 'lib/compiler/src/v3_kernel.hrl')
-rw-r--r--lib/compiler/src/v3_kernel.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_kernel.hrl b/lib/compiler/src/v3_kernel.hrl
index 87011b7680..7cd30b25a8 100644
--- a/lib/compiler/src/v3_kernel.hrl
+++ b/lib/compiler/src/v3_kernel.hrl
@@ -79,7 +79,7 @@
-record(k_guard_clause, {anno=[],guard,body}).
-record(k_break, {anno=[],args=[]}).
--record(k_guard_break, {anno=[],args=[],locked=[]}).
+-record(k_guard_break, {anno=[],args=[]}).
-record(k_return, {anno=[],args=[]}).
%%k_get_anno(Thing) -> element(2, Thing).