Optimize special variable binding on sb-thread.
authorStas Boukarev <stassats@gmail.com>
Thu, 19 Sep 2013 19:30:09 +0000 (23:30 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 19 Sep 2013 19:30:09 +0000 (23:30 +0400)
commitced29bbb5c5575ed9f71a4bdd79e222216a63e73
tree2d57638bcfe25b105d5dbbf6b02ee8363cb7130a
parentf42374639ed3c17feee330939df92117a0055d02
Optimize special variable binding on sb-thread.

Remove a level of indirection when unbinding special bindings, instead
of saving a symbol on the binding stack, and then accessing its
tls-index to unbind it, save the tls-index directly, saving one memory
read.
12 files changed:
doc/internals/specials.texinfo
src/compiler/alpha/cell.lisp
src/compiler/generic/objdef.lisp
src/compiler/hppa/cell.lisp
src/compiler/mips/cell.lisp
src/compiler/ppc/cell.lisp
src/compiler/sparc/cell.lisp
src/compiler/x86-64/cell.lisp
src/compiler/x86/cell.lisp
src/runtime/dynbind.c
src/runtime/dynbind.h
src/runtime/safepoint.c