Displaying 10 results from an estimated 10 matches for "stackerparser".
2006 Apr 20
3
[LLVMdev] Oddity in StackerParser.y.
Hi,
$ g -1 '^Module' StackerParser.y
/* A module is just a DefinitionList */
Module : { SCI->handle_module_start( ); }
DefinitionList { $$ = SCI->handle_module_end( $2 ); } ;
$
It's been years since I was heavily into yacc, but shouldn't it be
s/$2/$1/?
Cheers,
Ralph.
2006 Apr 20
0
[LLVMdev] Oddity in StackerParser.y.
No, $2 is correct. The { } code block before DefinitionList is counted
(or more precisely, the empty sequence of terminals preceding it is
counted).
Ralph Corderoy wrote:
>Hi,
>
> $ g -1 '^Module' StackerParser.y
> /* A module is just a DefinitionList */
> Module : { SCI->handle_module_start( ); }
> DefinitionList { $$ = SCI->handle_module_end( $2 ); } ;
> $
>
>It's been years since I was heavily into yacc, but shouldn't it be
>...
2004 May 01
1
[LLVMdev] compiling LLVM from CVS under SuSE 9.1 (finished!)
...finition.
so, i've changed:
CPUResource(const std::string& resourceName, int maxUsers)
to:
CPUResource(const std::string& resourceName, int maxUsers)
: rname(resourceName), maxNumUsers(maxUsers) {};
Another thing is:
********************
[...]
Flexing Lexer.l
Lexer.l:31:27: StackerParser.h: No such file or directory
Bisoning StackerParser.y
[...]
********************
which did not stop compilation though (probably sub-call make -k)
And now, compilation is finished, wow!
:)
--
Valery.
2004 Apr 30
0
[LLVMdev] LLVM benchmarks against GCC
On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] " wrote:
> > > yesterday I got new SuSE 9.1 DVD, so i am going to enter this
> > > river again. Perhaps, this time all will be fine.
> >
> > Sounds great, please let me know how it goes.
>
> SuSE 9.1 is running OK.
> after 30 minute of compilation i get first errors:
> *********************
2004 Apr 30
2
[LLVMdev] LLVM benchmarks against GCC
> > yesterday I got new SuSE 9.1 DVD, so i am going to enter this
> > river again. Perhaps, this time all will be fine.
>
> Sounds great, please let me know how it goes.
SuSE 9.1 is running OK.
after 30 minute of compilation i get first errors:
*********************
make[2]: Leaving directory `/pool/tmp/llvm/runtime/libtrace'
make[2]: Entering directory
2004 Jul 21
0
[LLVMdev] GC questions.
...ModuleMaker/tools/Debug
? llvm/projects/ModuleMaker/tools/ModuleMaker/Debug
? llvm/projects/ModuleMaker/tools/ModuleMaker/Depend
? llvm/projects/Stacker/lib/compiler/Debug
? llvm/projects/Stacker/lib/compiler/Depend
? llvm/projects/Stacker/lib/compiler/Lexer.cpp
? llvm/projects/Stacker/lib/compiler/StackerParser.cpp
? llvm/projects/Stacker/lib/compiler/StackerParser.h
? llvm/projects/Stacker/lib/compiler/StackerParser.output
? llvm/projects/Stacker/lib/runtime/Debug
? llvm/projects/Stacker/lib/runtime/Depend
? llvm/projects/Stacker/tools/stkrc/Debug
? llvm/projects/Stacker/tools/stkrc/Depend
? llvm/project...
2004 Jul 21
2
[LLVMdev] GC questions.
On Wed, 21 Jul 2004, Tobias Nurmiranta wrote:
>
> Hi, I'm thinking out loud, please give me some feedback.
>
> Regarding llvm.gcread and llvm.gcwrite, wouldn't it be nicer if they are
> implemented as:
>
> llvm.gcread(sbyte** object, uint offset)
> llvm.gcwrite(sbyte* data, sbyte** object, uint offset)
>
> Where you also have the offset into the object. In
2004 Jul 21
0
[LLVMdev] GC questions.
Ok, that makes sense :).
, Tobias
On Wed, 21 Jul 2004, Chris Lattner wrote:
> On Wed, 21 Jul 2004, Tobias Nurmiranta wrote:
> > > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) {
> > > return *FieldPtr;
> > > }
> >
> > Hm, but doesn't FieldPtr need to be calculated target-specific in those
> > cases?
>
> For the field pointer, one
2004 Jul 21
2
[LLVMdev] GC questions.
On Wed, 21 Jul 2004, Tobias Nurmiranta wrote:
> > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) {
> > return *FieldPtr;
> > }
>
> Hm, but doesn't FieldPtr need to be calculated target-specific in those
> cases?
For the field pointer, one could use the getelementptr instruction:
%pairty = { sbyte, sbyte, int* }
%pairPtr = ...
%fieldptr = getelementptr
2004 Jul 22
2
[LLVMdev] GC questions.
...ModuleMaker/tools/Debug
? llvm/projects/ModuleMaker/tools/ModuleMaker/Debug
? llvm/projects/ModuleMaker/tools/ModuleMaker/Depend
? llvm/projects/Stacker/lib/compiler/Debug
? llvm/projects/Stacker/lib/compiler/Depend
? llvm/projects/Stacker/lib/compiler/Lexer.cpp
? llvm/projects/Stacker/lib/compiler/StackerParser.cpp
? llvm/projects/Stacker/lib/compiler/StackerParser.h
? llvm/projects/Stacker/lib/compiler/StackerParser.output
? llvm/projects/Stacker/lib/runtime/Debug
? llvm/projects/Stacker/lib/runtime/Depend
? llvm/projects/Stacker/tools/stkrc/Debug
? llvm/projects/Stacker/tools/stkrc/Depend
? llvm/project...