- ;;
- ;; wow, MIPS sucks (or I do) -- CSR, 2004-05-20
- (inst li temp (fixnumize -1))
- (loadw res symbol symbol-hash-slot other-pointer-lowtag)
- (inst and res temp)))
+ (loadw temp symbol symbol-hash-slot other-pointer-lowtag)
+ (inst srl temp n-fixnum-tag-bits)
+ (inst sll res temp n-fixnum-tag-bits)))
+
+;;; On unithreaded builds these are just copies of the non-global versions.
+(define-vop (%set-symbol-global-value set))
+(define-vop (symbol-global-value symbol-value)
+ (:translate symbol-global-value))
+(define-vop (fast-symbol-global-value fast-symbol-value)
+ (:translate symbol-global-value))