Changeset 14137


Ignore:
Timestamp:
08/26/12 19:23:15 (8 years ago)
Author:
rschlatte
Message:

Update instance layout in (set-)standard-instance-access if necessary.

  • Reported by Pascal Costanza
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/StandardObject.java

    r14136 r14137  
    429429    {
    430430      final StandardObject instance = checkStandardObject(first);
     431      if (instance.layout.isInvalid()) {
     432        // Update instance.
     433        instance.updateLayout();
     434      }
    431435      final int index;
    432436      if (second instanceof Fixnum) {
     
    474478    {
    475479      final StandardObject instance = checkStandardObject(first);
     480      if (instance.layout.isInvalid()) {
     481        // Update instance.
     482        instance.updateLayout();
     483      }
    476484      final int index;
    477485      if (second instanceof Fixnum) {
Note: See TracChangeset for help on using the changeset viewer.