Advertisement
Guest User

Untitled

a guest
Oct 29th, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. {module, test}. %% version = 0
  2.  
  3. {exports, [{module_info,0},
  4. {module_info,1},
  5. {t_w,0},
  6. {t_w,1},
  7. {t_w,2},
  8. {t_w,3},
  9. {t_wo,0},
  10. {t_wo,1},
  11. {t_wo,2},
  12. {t_wo,3}]}.
  13.  
  14. {attributes, []}.
  15.  
  16. {labels, 27}.
  17.  
  18.  
  19. {function, t_w, 0, 2}.
  20. {label,1}.
  21. {func_info,{atom,test},{atom,t_w},0}.
  22. {label,2}.
  23. {allocate,0,0}.
  24. {call_ext,0,{extfunc,some,method,0}}.
  25. {call_ext_last,0,{extfunc,some,other_method,0},0}.
  26.  
  27.  
  28. {function, t_wo, 0, 4}.
  29. {label,3}.
  30. {func_info,{atom,test},{atom,t_wo},0}.
  31. {label,4}.
  32. {call_ext_only,0,{extfunc,some,other_method,0}}.
  33.  
  34.  
  35. {function, t_w, 1, 6}.
  36. {label,5}.
  37. {func_info,{atom,test},{atom,t_w},1}.
  38. {label,6}.
  39. {allocate,1,1}.
  40. {move,{x,0},{y,0}}.
  41. {call_ext,0,{extfunc,some,method,0}}.
  42. {test,is_eq_exact,{f,7},[{y,0},{atom,a}]}.
  43. {call_ext_last,0,{extfunc,some,other_method,0},1}.
  44. {label,7}.
  45. {case_end,{y,0}}.
  46.  
  47.  
  48. {function, t_wo, 1, 9}.
  49. {label,8}.
  50. {func_info,{atom,test},{atom,t_wo},1}.
  51. {label,9}.
  52. {test,is_eq_exact,{f,10},[{x,0},{atom,a}]}.
  53. {call_ext_only,0,{extfunc,some,other_method,0}}.
  54. {label,10}.
  55. {case_end,{x,0}}.
  56.  
  57.  
  58. {function, t_w, 2, 12}.
  59. {label,11}.
  60. {func_info,{atom,test},{atom,t_w},2}.
  61. {label,12}.
  62. {allocate,2,2}.
  63. {move,{x,1},{y,0}}.
  64. {move,{x,0},{y,1}}.
  65. {call_ext,0,{extfunc,some,method,0}}.
  66. {test,is_eq_exact,{f,13},[{y,1},{atom,a}]}.
  67. {test,is_eq_exact,{f,13},[{y,0},{atom,b}]}.
  68. {call_ext_last,0,{extfunc,some,other_method,0},2}.
  69. {label,13}.
  70. {test_heap,3,0}.
  71. {put_tuple,2,{x,0}}.
  72. {put,{y,1}}.
  73. {put,{y,0}}.
  74. {case_end,{x,0}}.
  75.  
  76.  
  77. {function, t_wo, 2, 15}.
  78. {label,14}.
  79. {func_info,{atom,test},{atom,t_wo},2}.
  80. {label,15}.
  81. {test,is_eq_exact,{f,16},[{x,0},{atom,a}]}.
  82. {test,is_eq_exact,{f,16},[{x,1},{atom,b}]}.
  83. {call_ext_only,0,{extfunc,some,other_method,0}}.
  84. {label,16}.
  85. {test_heap,3,2}.
  86. {put_tuple,2,{x,2}}.
  87. {put,{x,0}}.
  88. {put,{x,1}}.
  89. {case_end,{x,2}}.
  90.  
  91.  
  92. {function, t_w, 3, 18}.
  93. {label,17}.
  94. {func_info,{atom,test},{atom,t_w},3}.
  95. {label,18}.
  96. {allocate,3,3}.
  97. {move,{x,2},{y,0}}.
  98. {move,{x,1},{y,1}}.
  99. {move,{x,0},{y,2}}.
  100. {call_ext,0,{extfunc,some,method,0}}.
  101. {test,is_eq_exact,{f,19},[{y,2},{atom,a}]}.
  102. {test,is_eq_exact,{f,19},[{y,1},{atom,b}]}.
  103. {test,is_eq_exact,{f,19},[{y,0},{atom,c}]}.
  104. {call_ext_last,0,{extfunc,some,other_method,0},3}.
  105. {label,19}.
  106. {test_heap,4,0}.
  107. {put_tuple,3,{x,0}}.
  108. {put,{y,2}}.
  109. {put,{y,1}}.
  110. {put,{y,0}}.
  111. {case_end,{x,0}}.
  112.  
  113.  
  114. {function, t_wo, 3, 21}.
  115. {label,20}.
  116. {func_info,{atom,test},{atom,t_wo},3}.
  117. {label,21}.
  118. {test,is_eq_exact,{f,22},[{x,0},{atom,a}]}.
  119. {test,is_eq_exact,{f,22},[{x,1},{atom,b}]}.
  120. {test,is_eq_exact,{f,22},[{x,2},{atom,c}]}.
  121. {call_ext_only,0,{extfunc,some,other_method,0}}.
  122. {label,22}.
  123. {test_heap,4,3}.
  124. {put_tuple,3,{x,3}}.
  125. {put,{x,0}}.
  126. {put,{x,1}}.
  127. {put,{x,2}}.
  128. {case_end,{x,3}}.
  129.  
  130.  
  131. {function, module_info, 0, 24}.
  132. {label,23}.
  133. {func_info,{atom,test},{atom,module_info},0}.
  134. {label,24}.
  135. {move,{atom,test},{x,0}}.
  136. {call_ext_only,1,{extfunc,erlang,get_module_info,1}}.
  137.  
  138.  
  139. {function, module_info, 1, 26}.
  140. {label,25}.
  141. {func_info,{atom,test},{atom,module_info},1}.
  142. {label,26}.
  143. {move,{x,0},{x,1}}.
  144. {move,{atom,test},{x,0}}.
  145. {call_ext_only,2,{extfunc,erlang,get_module_info,2}}.
  146.  
  147.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement