diff options
author | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
commit | 84adefa331c4159d432d22840663c38f155cd4c1 (patch) | |
tree | bff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/compiler/test/beam_validator_SUITE_data/yrange.S | |
download | otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2 otp-84adefa331c4159d432d22840663c38f155cd4c1.zip |
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE_data/yrange.S')
-rw-r--r-- | lib/compiler/test/beam_validator_SUITE_data/yrange.S | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE_data/yrange.S b/lib/compiler/test/beam_validator_SUITE_data/yrange.S new file mode 100644 index 0000000000..483b14ebd3 --- /dev/null +++ b/lib/compiler/test/beam_validator_SUITE_data/yrange.S @@ -0,0 +1,76 @@ +{module, yrange}. %% version = 0 + +{exports, [{id,1}, + {module_info,0}, + {module_info,1}, + {sum_1,2}, + {sum_2,2}, + {sum_3,2}, + {sum_4,2}]}. + +{attributes, []}. + +{labels, 15}. + + +{function, sum_1, 2, 2}. + {label,1}. + {func_info,{atom,t},{atom,sum_1},2}. + {label,2}. + {allocate,1,2}. + {move,{x,1},{y,-1}}. + {'%live',1}. + {call,1,{f,10}}. + {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}. + {'%live',1}. + {deallocate,1}. + return. + + +{function, sum_2, 2, 4}. + {label,3}. + {func_info,{atom,t},{atom,sum_2},2}. + {label,4}. + {allocate,1,2}. + {move,{x,1},{y,0}}. + {'%live',1}. + {call,1,{f,10}}. + {bif,'+',{f,0},[{x,0},{y,1024}],{x,0}}. + {'%live',1}. + {deallocate,1}. + return. + + +{function, sum_3, 2, 6}. + {label,5}. + {func_info,{atom,t},{atom,sum_3},2}. + {label,6}. + {allocate,1,2}. + {move,{x,1},{y,1024}}. + {'%live',1}. + {call,1,{f,10}}. + {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}. + {'%live',1}. + {deallocate,1}. + return. + + +{function, sum_4, 2, 8}. + {label,7}. + {func_info,{atom,t},{atom,sum_4},2}. + {label,8}. + {allocate,1,2}. + {move,{x,1},{y,-1}}. + {'%live',1}. + {call,1,{f,10}}. + {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}. + {'%live',1}. + {deallocate,1}. + return. + + +{function, id, 1, 10}. + {label,9}. + {func_info,{atom,t},{atom,id},1}. + {label,10}. + return. |