;; register on -SB-THREAD.
#!+sb-thread
(progn
- (with-tls-ea (EA :base :unused
+ #!+win32 (inst push eax-tn)
+ (with-tls-ea (EA :base #!+win32 eax-tn #!-win32 :unused
:disp-type :constant
:disp (* thread-stepping-slot n-word-bytes))
- (inst cmp EA nil-value :maybe-fs)))
+ (inst cmp EA nil-value :maybe-fs))
+ #!+win32 (inst pop eax-tn))
#!-sb-thread
(inst cmp (make-ea-for-symbol-value sb!impl::*stepping*)
nil-value))