Displaying 2 results from an estimated 2 matches for "handle_while".
Did you mean:
handle_file
2005 May 04
0
[LLVMdev] Re: stacker doc
Hi Lalo,
Its been a while since I've had a Stacker question!
The answer is in the StackerCompiler::handle_while function in
StackerCompiler.cpp in projects/Stacker/lib/compiler. Apparently the
control value is only examined (not popped) for the "WHILE" operator.
Take for example the prime.st sample program. The first thing it does is
process the arguments with a WHILE loop:
WHILE
do_one_argum...
2008 Apr 09
2
[LLVMdev] Compiling Stacker compiler
...ions.h:895: note:
llvm::CallInst::CallInst(llvm::Value*, llvm::Value*, const
std::string&, llvm::Instruction*)
/opt/src-llvm/include/llvm/Instructions.h:842: note:
llvm::CallInst::CallInst(const llvm::CallInst&)
StackerCompiler.cpp: In member function 'llvm::BasicBlock*
StackerCompiler::handle_while(char*)':
StackerCompiler.cpp:823: error: no matching function for call to
'llvm::CallInst::CallInst(llvm::Function*&, llvm::Value**, size_t)'
/opt/src-llvm/include/llvm/Instructions.h:900: note: candidates are:
llvm::CallInst::CallInst(llvm::Value*, const std::string&,
llvm::Bas...