diff options
author | Björn Gustavsson <[email protected]> | 2015-02-26 06:36:22 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-03-09 11:54:43 +0100 |
commit | 16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5 (patch) | |
tree | 3b168134b63b22ae05728cb1863a94c3437c568a | |
parent | 0d16828327959cc6a3870474ec7064f6fde9deae (diff) | |
download | otp-16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5.tar.gz otp-16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5.tar.bz2 otp-16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5.zip |
v3_codegen: Don't save options in the process dictionary
v3_codegen puts the compilation in the process dictionary, but
never uses them.
-rw-r--r-- | lib/compiler/src/v3_codegen.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/compiler/src/v3_codegen.erl b/lib/compiler/src/v3_codegen.erl index cbe50b93b0..fadc40492c 100644 --- a/lib/compiler/src/v3_codegen.erl +++ b/lib/compiler/src/v3_codegen.erl @@ -69,10 +69,8 @@ stk=[], %Stack table res=[]}). %Reserved regs: [{reserved,I,V}] -module({Mod,Exp,Attr,Forms}, Options) -> - put(?MODULE, Options), +module({Mod,Exp,Attr,Forms}, _Options) -> {Fs,St} = functions(Forms, {atom,Mod}), - erase(?MODULE), {ok,{Mod,Exp,Attr,Fs,St#cg.lcount}}. functions(Forms, AtomMod) -> |