[Top][All Lists]

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

[Help-smalltalk] [patch] fix stinst compilation of #ifFalse:#ifTrue:

From: Stephen Compall
Subject: [Help-smalltalk] [patch] fix stinst compilation of #ifFalse:#ifTrue:
Date: Sun, 02 Sep 2007 14:37:39 -0500

    fix stinst compilation of #ifFalse:#ifTrue:

Took a break from some Java stuff I'm working on, and found this when I
wrote a massive ifFalse block followed by a tiny ifTrue block.  The
wrong size was used in the optimized compilation, so

    condition ifFalse: [lots of code] ifTrue: [little code]

would jump way past the end after executing the ifFalse: block, making
for all sorts of madness.

This also includes an unrelated tiny NEWS fix.

;;; Stephen Compall ** **
"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: compile-iffalseiftrue.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]