search for: node_alloc

Displaying 3 results from an estimated 3 matches for "node_alloc".

Did you mean: inode_alloc
2014 Sep 01
2
[LLVMdev] Problem linking and JITing code through C++-API
...s.at(topmodule); auto & compiler = *module_stab.compiler; tgt::scope _ = module_stab.module_ir; tgt::extern_( tgt::types::int_(32)(), "main", {} , [&]{ // Construct the root expression (just the "main" symbol). tgt::value root_p = compiler.node_alloc(); sprite::curry::Qname const main_{topmodule, "main"}; root_p = construct(compiler, root_p, {main_, {}}); // Evaluate and then print the root expression. compiler.rt.normalize(root_p); compiler.rt.printexpr(root_p, "\n"); tgt::r...
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
...t; > tgt::scope _ = module_stab.module_ir; > > tgt::extern_( > > tgt::types::int_(32)(), "main", {} > > , [&]{ > > // Construct the root expression (just the "main" symbol). > > tgt::value root_p = compiler.node_alloc(); > > sprite::curry::Qname const main_{topmodule, "main"}; > > root_p = construct(compiler, root_p, {main_, {}}); > > // Evaluate and then print the root expression. > > compiler.rt.normalize(root_p); > > compiler...
2014 Sep 08
2
[LLVMdev] Problem linking and JITing code through C++-API
...gt; > > > tgt::extern_( > > > > tgt::types::int_(32)(), "main", {} > > > > , [&]{ > > > > // Construct the root expression (just the "main" symbol). > > > > tgt::value root_p = compiler.node_alloc(); > > > > sprite::curry::Qname const main_{topmodule, "main"}; > > > > root_p = construct(compiler, root_p, {main_, {}}); > > > > // Evaluate and then print the root expression. > > > > compiler.rt.normal...