aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-05-14 15:28:39 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-05-21 15:44:02 +0200
commit59874c674221bfa2090cc8ebeaf8bd7b0a08c274 (patch)
tree16479f2df6c3eea3384c1c0f1eeeed3f16bb574a /lib/compiler
parentcfac6655df46b607d39a13b3aab3602fc79ee6e6 (diff)
downloadotp-59874c674221bfa2090cc8ebeaf8bd7b0a08c274.tar.gz
otp-59874c674221bfa2090cc8ebeaf8bd7b0a08c274.tar.bz2
otp-59874c674221bfa2090cc8ebeaf8bd7b0a08c274.zip
compiler: Scope uses gb_sets not gb_trees
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/sys_core_fold.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/sys_core_fold.erl b/lib/compiler/src/sys_core_fold.erl
index 6f8279f65e..4529c01b69 100644
--- a/lib/compiler/src/sys_core_fold.erl
+++ b/lib/compiler/src/sys_core_fold.erl
@@ -1242,7 +1242,7 @@ is_subst(_) -> false.
%% to force renaming if variables in the scope occurs as pattern
%% variables.
-sub_new() -> #sub{v=orddict:new(),s=gb_trees:empty(),t=[]}.
+sub_new() -> #sub{v=orddict:new(),s=gb_sets:empty(),t=[]}.
sub_new(#sub{}=Sub) ->
Sub#sub{v=orddict:new(),t=[]}.