[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 722753: Eliminate any use of defined(SQ_HOST64), defined(S...

GitHub noreply at github.com
Fri Nov 18 17:18:14 UTC 2016

  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 72275392e600a06a520e35cb2a00f13b3b6301c7
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M platforms/Cross/vm/sqMemoryAccess.h
    M platforms/iOS/vm/Common/sqMacV2Memory.c
    M platforms/unix/vm/sqUnixMemory.c

  Log Message:
  Eliminate any use of defined(SQ_HOST64), defined(SQ_HOST32), defined(SQ_IMAGE32)
and defined(SQ_IMAGE64) in favour of the names themselves.  Then in
sqMemoryAccess.h define SQ_IMAGE32 as 1 and SQ_IMAGE64 as 0, or vice verce so
that code that needs to can test SQ_IMAGE32 or SQ_IMAGE64 without having to use
an #ifdef.

More information about the Vm-dev mailing list