aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/v3_kernel.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-10-14 14:39:19 +0200
committerFredrik Gustafsson <[email protected]>2013-10-14 14:39:19 +0200
commit77eba492997f8340425d0828835c2a60cf81550e (patch)
tree14a44f4170f0f99a8d871551b09216aacdb6bc0b /lib/compiler/src/v3_kernel.erl
parentdb460f90313bb7adea4ebd4cf0f3cca568ddf118 (diff)
parent21095e6830f37676dd29c33a590851ba2c76499b (diff)
downloadotp-77eba492997f8340425d0828835c2a60cf81550e.tar.gz
otp-77eba492997f8340425d0828835c2a60cf81550e.tar.bz2
otp-77eba492997f8340425d0828835c2a60cf81550e.zip
Merge branch 'fenollp/treewide_remove_unexpected_0xff/OTP-11323' into maint
* fenollp/treewide_remove_unexpected_0xff/OTP-11323: Remove ^L characters hidden randomly in the code. Not those used in text files as delimiters.
Diffstat (limited to 'lib/compiler/src/v3_kernel.erl')
-rw-r--r--lib/compiler/src/v3_kernel.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compiler/src/v3_kernel.erl b/lib/compiler/src/v3_kernel.erl
index 2b2b8bf550..65f1251099 100644
--- a/lib/compiler/src/v3_kernel.erl
+++ b/lib/compiler/src/v3_kernel.erl
@@ -160,8 +160,8 @@ function({#c_var{name={F,Arity}=FA},Body}, St0) ->
io:fwrite("Function: ~w/~w\n", [F,Arity]),
erlang:raise(Class, Error, Stack)
end.
-
-
+
+
%% body(Cexpr, Sub, State) -> {Kexpr,[PreKepxr],State}.
%% Do the main sequence of a body. A body ends in an atomic value or
%% values. Must check if vector first so do expr.
@@ -834,7 +834,7 @@ last([_|T]) -> last(T).
first([_]) -> [];
first([H|T]) -> [H|first(T)].
-
+
%% This code implements the algorithm for an optimizing compiler for
%% pattern matching given "The Implementation of Functional
%% Programming Languages" by Simon Peyton Jones. The code is much
@@ -1428,7 +1428,7 @@ arg_val(Arg, C) ->
{set_kanno(S, []),U,T,Fs}
end
end.
-
+
%% ubody_used_vars(Expr, State) -> [UsedVar]
%% Return all used variables for the body sequence. Much more
%% efficient than using ubody/3 if the body contains nested letrecs.