Displaying 1 result from an estimated 1 matches for "init_env".
2009 Jan 28
3
[LLVMdev] uses of unwind lead to crashes
...4-
f80:128:128"
target triple = "i386-apple-darwin9.5"
@error_code = global i32 0
@error_val = global i32 0
%eframe = type {%eframe*, i32, [0 x i32]}
%closure = type {i32, %eframe*}
%packed_args = type {i32, [0 x i32]}
@empty_env = global i32 0
define i32 @scheme_entry () {
%init_env = bitcast i32* @empty_env to %eframe*
%main = invoke i32 @main_1(%eframe* %init_env) to label %Done unwind
label %Exn
Done:
%fixed = bitcast i32 %main to i32
ret i32 %fixed
Exn:
ret i32 0
}
define i32 @dispatch(%eframe* %env, i32 %fun_val, %packed_args* %args) {
%reg_1 = and i32 %fun_val, 3...