search for: currentmodul

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

Did you mean: currentmodule
2008 Mar 03
1
[LLVMdev] Cloning a function
...m the library module and asserts as an invalid module. To solve that we add a mapping to DenseMap from the powf declaration in the library module to the powf declaration in the generated module, as in: DenseMap<const Value*, Value *> val; val[m_builtins->getFunction("powf")] = currentModule()->getFunction("powf"); func = CloneFunction(originalFunc, val); currentModule()->getFunctionList().push_back(func); unfortunately after this we get an assert: vp-tris: /home/zack/projects/general/llvm/lib/Target/X86/X86CodeEmitter.cpp:412: unsigned int sizeOfImm(const llvm::Targ...
2007 Nov 11
2
[LLVMdev] MSVC 8 Build
...rser.y 1>c:\llvm\lib\AsmParser\llvmAsmParser.y(3124) : error C2065: 'Debug' : undeclared identifier e.g. below. // common code from the two 'RunVMAsmParser' functions static Module* RunParser(Module * M) { llvmAsmlineno = 1; // Reset the current line number... CurModule.CurrentModule = M; #if YYDEBUG yydebug = Debug; #endif // Check to make sure the parser succeeded if (yyparse()) { if (ParserResult) delete ParserResult; return 0; } Cheers, George Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.l...
2007 Nov 12
0
[LLVMdev] MSVC 8 Build
...y(3124) : error C2065: > 'Debug' : > 1>undeclared identifier > e.g. below. > // common code from the two 'RunVMAsmParser' functions static > Module* RunParser(Module * M) { > > llvmAsmlineno = 1; // Reset the current line number... > CurModule.CurrentModule = M; > #if YYDEBUG > yydebug = Debug; > #endif > > // Check to make sure the parser succeeded > if (yyparse()) { > if (ParserResult) > delete ParserResult; > return 0; > } Please try to fully rebuild the AsmParser project. This will regenerate...