method attribute compilation from files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

method attribute compilation from files

S11001001
Fixes an off-by-one related to the different interpretations of
copyFrom:to: between String and FileSegment.  See
[hidden email]--2007-nocandy/smalltalk--backstage--2.2--patch-10
or attached.

Now I get after loading compiler:

st> PackageLoader fileInPackage: 'TCP'!
Loading package TCP
stdin:2: bad primitive number, expected SmallInteger
Object: CompiledMethod class error: invalid primitive declaration
SystemExceptions.VerificationError(Smalltalk.Exception)>>#signal
SystemExceptions.VerificationError class(Smalltalk.Exception class)>>#signal:
optimized [] in Smalltalk.CompiledMethod class>>#literals:numArgs:numTemps:attributes:bytecodes:depth:
[] in Smalltalk.Array(Smalltalk.Collection)>>#inject:into:
Smalltalk.Array(Smalltalk.SequenceableCollection)>>#do:
Smalltalk.Array(Smalltalk.Collection)>>#inject:into:
Smalltalk.CompiledMethod class>>#literals:numArgs:numTemps:attributes:bytecodes:depth:
STInST.STCompiler>>#acceptMethodNode:

--
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
"Peta" is Greek for fifth; a petabyte is 10 to the fifth power, as
well as fifth in line after kilo, mega, giga, and tera.
  -- Lee Gomes, performing every Wednesday in his tech column
     "Portals" on page B1 of The Wall Street Journal

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

primSrc-offby1.diff (1K) Download Attachment
signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: method attribute compilation from files

Paolo Bonzini
Stephen Compall wrote:
> Fixes an off-by-one related to the different interpretations of
> copyFrom:to: between String and FileSegment.  See
> [hidden email]--2007-nocandy/smalltalk--backstage--2.2--patch-10
> or attached.

Applied, thanks.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk