help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] command-line-dependent compiler "error"


From: Stephen Compall
Subject: [Help-smalltalk] command-line-dependent compiler "error"
Date: Wed, 13 Dec 2006 14:36:47 -0600

Can anyone else on Arch/CVS using JIT (and perhaps on GNU/Linux x86)
reproduce this?  I go into any subdirectory of the source/build tree and
do:

[libgst]$ ../gst -I ../gst.im -f ~/Desktop/test-parser.st
An instance of CompiledMethod
  header: 65
  Header Flags:
    flags: 0
    primitive index: 0
    number of arguments: 1
    number of temporaries: 0
    number of literals: 2
    needed stack slots: 8
  descriptor: a MethodInfo
  literals: [
    [1] [] in STInST.RBMethodNode>>#arguments:
    [2] #':'
  ]
  byte codes: [
    [1] source code line number 2
        push Temporary[0]
    [3] store into Instance Variable[6]
    [5] source code line number 3
        push a CompiledBlock
    [7] make dirty block
    [9] send 1 args message #':'
   [11] push self
        return stack top
  ]

(Hint: the weirdness is #':', which should be #do:.)  Using this
test-parser.st:

PackageLoader fileInPackage: 'Parser'.                                          
(((Smalltalk at: #STInST) at: #RBMethodNode) >> #arguments:) inspect!

It doesn't happen for "./gst -I ./gst.im", or even "smalltalk-jit/gst -I
smalltalk-jit/gst.im".  The distributed packages seem to work fine.
This is on a fresh checkout of patch-207 from address@hidden, by
the way, using ./configure --enable-jit --without-readline --disable-gtk

-- 
Stephen Compall
http://scompall.nocandysw.com/blog
##smalltalk,#gnu-smalltalk on Freenode IRC

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]