aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/postgres.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-11-26 10:18:30 +0100
committerBjörn Gustavsson <[email protected]>2014-01-20 12:22:42 +0100
commite3ee8cb325d294b100d2f4b3894a5d7d3ec023e0 (patch)
tree46057b8ec1d1ab93c6a20dd19b9f287fb7261284 /lib/odbc/test/postgres.erl
parent48360023d2f5ae72df19f0095da55738f63800db (diff)
downloadotp-e3ee8cb325d294b100d2f4b3894a5d7d3ec023e0.tar.gz
otp-e3ee8cb325d294b100d2f4b3894a5d7d3ec023e0.tar.bz2
otp-e3ee8cb325d294b100d2f4b3894a5d7d3ec023e0.zip
Generate intermediate code that is easier to optimize
Instead of generating: {assign,Dst,"element(2, Val)"} generate: {call,erlang,element,[2,{var,"Val"}],Dst} The latter expression is easier to understand since there is no need to parse a string which may contain an arbitrary expression. While at it, also discontinue the practice to treat "naked" atoms as variables. A variable must always be given as {var,String}.
Diffstat (limited to 'lib/odbc/test/postgres.erl')
0 files changed, 0 insertions, 0 deletions