search for: lc37

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

Did you mean: 4c37
2013 Jan 08
0
[LLVMdev] ExecutionEngine always comes back NULL
...code that I use to run code: > /* Executes the AST by running the main function */ > GenericValue CodeGenContext::runCode() { > std::cout << "Running code...\n"; > ExecutionEngine *ee = EngineBuilder(module).create(); > < > div class="line" id="LC37" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;"> > vector<GenericValue> noargs; > GenericValue v = ee ->runFunction(mainFunction, noargs); > std::cout << ; "Code was run.\n"; > return v; > } Isn't that more-or-less exactl...
2013 Jan 08
2
[LLVMdev] ExecutionEngine always comes back NULL
Sorry I forgot to add code that I use to run code: /* Executes the AST by running the main function */ GenericValue CodeGenContext::runCode() { std::cout << "Running code...\n"; ExecutionEngine *ee = EngineBuilder(module).create(); vector<GenericValue> noargs; GenericValue v = ee->runFunction(mainFunction, noargs); std::cout << "Code was run.\n"; return v;
2013 Jan 09
1
[LLVMdev] ExecutionEngine always comes back NULL
...code: >> /* Executes the AST by running the main function */ >> GenericValue CodeGenContext::runCode() { >> std::cout << "Running code...\n"; >> ExecutionEngine *ee = EngineBuilder(module).create(); >> < >> div class="line" id="LC37" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;"> >> vector<GenericValue> noargs; >> GenericValue v = ee ->runFunction(mainFunction, noargs); >> std::cout << ; "Code was run.\n"; >> return v; >> } > Isn't...