Holger found an overflow bug in #basicAt: and #basicAt:put:,
which breaks classes that have both fixed and indexed instance
variables.  The following patches fix it; I didn't yet add
testcases or attempted to deal with the fallout: as expected,
the delays.st test starts failing as it does under the JIT.
DebugTools also fails due to the same access with index -1.

Paolo

Paolo Bonzini (2):
  tweak index_oop_spec and index_oop_put_spec index computations
  fix overflow check for #basicAt: and #basicAt:put:

 libgst/ChangeLog | 15 +++++++++++++++
 libgst/dict.inl  | 44 ++++++++++++++++++++++++--------------------
 2 files changed, 39 insertions(+), 20 deletions(-)

-- 
1.8.2.1


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

Reply via email to