help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] method attribute compilation from files


From: Stephen Compall
Subject: [Help-smalltalk] method attribute compilation from files
Date: Sun, 18 Feb 2007 11:58:23 -0600

Fixes an off-by-one related to the different interpretations of
copyFrom:to: between String and FileSegment.  See
address@hidden/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

Attachment: primSrc-offby1.diff
Description: Text Data

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


reply via email to

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