Skip to content

Instantly share code, notes, and snippets.

@enebo

enebo/diff.txt Secret

Created October 10, 2014 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enebo/a6846fac631bb2362aa0 to your computer and use it in GitHub Desktop.
Save enebo/a6846fac631bb2362aa0 to your computer and use it in GitHub Desktop.
CFG.original
BB [1:CL14_LBL_7:0]
BB [2:CL14_LBL_8:0]
%t_f_11 = recv_pre_reqd_arg(0)
%current_scope = scope<0>
%current_module = module<0>
thread_poll
line_num(212)
%v_2 = search_const(File, scope<0>, no-private-consts=false)
%v_3 = call_1o(NORMAL, 'file?', %v_2, [%t_f_11]){1O}
b_false(%v_3, CL14_LBL_0:22)
BB [4:CL14_LBL_9:8]
%v_4 = get_global_var($!)
BB [5:CL14_LBL_2:9]
%v_6 = search_const(File, %current_scope, no-private-consts=false)
%v_7 = call(NORMAL, 'chmod', %v_6, [Fixnum:420, %t_f_11])
%v_5 = copy(%v_7)
BB [6:CL14_LBL_4:13]
%v_8 = recv_ruby_exc
%v_9 = inheritance_search_const(%current_module, StandardError)
%v_10 = rescue_eqq(%v_9, %v_8)
b_true(%v_10, CL14_LBL_6:19)
BB [7:CL14_LBL_5:17]
throw(%v_8)
BB [8:CL14_LBL_6:19]
put_global_var($!) = %v_4
%v_5 = nil
jump CL14_LBL_3:12
BB [9:CL14_LBL_3:12]
jump CL14_LBL_1:23
BB [10:CL14_LBL_0:22]
%v_5 = nil
BB [11:CL14_LBL_1:23]
return(%v_5)
BB [12:CL14_LBL_10:25]
return(nil)
------ Rescue block map ------
BB 5 --> BB 6
CFG.new
BB [1:CL14_LBL_7:-1]
BB [2:CL14_LBL_8:-1]
%v_11 = recv_pre_reqd_arg(0)
%current_scope = scope<0>
%current_module = module<0>
thread_poll
line_num(212)
%v_2 = search_const(File, scope<0>, no-private-consts=false)
%v_3 = call(NORMAL, 'file?', %v_2, [%v_11])
b_false(%v_3, CL14_LBL_0:-1)
BB [3:CL14_LBL_9:-1]
%v_4 = get_global_var($!)
BB [4:CL14_LBL_2:-1]
%v_6 = search_const(File, %current_scope, no-private-consts=false)
%v_7 = call(NORMAL, 'chmod', %v_6, [Fixnum:420, %v_11])
%v_5 = copy(%v_7)
BB [5:CL14_LBL_4:-1]
%v_8 = recv_ruby_exc
%v_9 = inheritance_search_const(%current_module, StandardError)
%v_10 = rescue_eqq(%v_9, %v_8)
b_true(%v_10, CL14_LBL_6:-1)
BB [6:CL14_LBL_5:-1]
throw(%v_8)
BB [7:CL14_LBL_6:-1]
put_global_var($!) = %v_4
%v_5 = nil
jump CL14_LBL_3:-1
BB [8:CL14_LBL_3:-1]
jump CL14_LBL_1:-1
BB [9:CL14_LBL_0:-1]
%v_5 = nil
BB [10:CL14_LBL_1:-1]
return(%v_5)
BB [11:CL14_LBL_10:-1]
return(nil)
------ Rescue block map ------
BB 4 --> BB 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment