search for: after_block

Displaying 4 results from an estimated 4 matches for "after_block".

2007 Nov 27
0
[LLVMdev] [Caml-list] Ocaml(opt) & llvm
On Nov 26, 2007, at 11:30 AM, Gordon Henriksen wrote: >> >> Of course, I do know that there are some typing issues and >> theoritical points which I deliberately ignore here. I'm supposing >> the guy wanting to LLVM for Ocaml is knowing that he seeks trouble. > > The ocaml type system is easily represented in LLVM. The only real > mismatches I'm aware of
2007 Nov 27
2
[LLVMdev] [Caml-list] Ocaml(opt) & llvm
...to match a handler. $r2 = $1 matches pattern1 branch to handler1_block if $r2 $r2 = $1 matches patternN branch to handlerN_block if $r2 ; If no handler matched, re-raise the exception. load $sp <- 0(caml_exception_pointer) pop 0(caml_exception_pointer) ret handler1_block: $r1 = catch1 jump to after_block handlerN_block: $r1 = catchN jump to after_block try_block: ; Save caml_exception_pointer on the stack. push 0(caml_exception_pointer) ; The top of the stack is now what raise expects: ; ... rest of stack ... ; return address ; old caml_exception_pointer ; Save $sp into caml_exception_pooin...
2007 Nov 26
2
[LLVMdev] [Caml-list] Ocaml(opt) & llvm
On Nov 26, 2007, at 13:27, Basile STARYNKEVITCH wrote: > As some might probably know, the LLVM compiler http://llvm.org/ has > (at least in its latest SVN snapshot) a binding for Ocaml. This > means that one could code in Ocaml some stuff (eg a JIT-ing > compiler) which uses (and links with) LLVM libraries. Yep! There are no bindings for the JIT (just for codegen), but it has
2006 Apr 23
4
Penalties of using an eval on every request
Hello RoR! I''m building a rails app for hosting multi-page surveys. I set up questionnaire, question, and question_component models. Now I''m initializing them with some data. survey.rb q1 = Question.new "q1" q1.quote "Welcome to a test of the new interviewing system." q2 = Question.new "q2" q2.quote "Do you like pie?"