search for: dynamically_compiled_function_code

Displaying 2 results from an estimated 2 matches for "dynamically_compiled_function_code".

2004 May 11
1
[LLVMdev] Follow-up on: Dynamic updates of current executed code
...nd compiled into the following code: %-------------- ; External function declare int %printf(sbyte*, ...) ; Custom function int %puts_kernel( sbyte* %string ) { %tmp.0 = call int (sbyte*, ...)* %printf( sbyte* %string ) ret int 0 } %------------- This code is represented in the string variable %dynamically_compiled_function_code below: %---------- %dynamically_compiled_function_code = internal constant [LENGTH x sbyte] c"--String with the function code--\0A\00" ; Table of function pointer(s) %kernel = type { int ( sbyte* )* } int %main() { ; Create the kernel in memory, and get pointer to first function poin...
2004 Apr 20
2
[LLVMdev] Dynamic updates of current executed code
...xternal function declare int %printf(sbyte*, ...) ; Custom function int %puts_kernel( sbyte* %string ) { %tmp.0 = call int (sbyte*, ...)* %printf( sbyte* %string ) ret int 0 } %----------------------------------------------------- This code is represented in the string variable %dynamically_compiled_function_code below: %----------------------------------------------------- %dynamically_compiled_function_code = internal constant [LENGTH x sbyte] c"--String with the function code--\0A\00" ; Table of function pointer(s) %kernel = type { int ( sbyte* )* } int %main() { ; Create the k...