Improve/fix SB-DISASSEM:SAP-REF-INT
commit9465793035d9a4d33e47fd5f6f73df266b0b7af6
authorDouglas Katzman <dougk@google.com>
Thu, 22 Sep 2016 00:25:39 +0000 (21 20:25 -0400)
committerDouglas Katzman <dougk@google.com>
Thu, 22 Sep 2016 00:25:39 +0000 (21 20:25 -0400)
treed6e41e569d94e494946e5f2bd9f7c12dc82505d8
parentaacc827f8e80de9ef21fa3f04fc2ec8f32d61358
Improve/fix SB-DISASSEM:SAP-REF-INT

- Remove incorrect (UNSIGNED-BYTE 16) type constraint on OFFSET.
  Negatives are allowed, because the SAP is to a disassembler segment,
  not the code object, so various things are at negative offsets.
- Remove dubious (SAFETY 0) - which "allowed" negatives - and inline-ness.
- Make it faster in the common case, less bloated in the uncommon.
src/compiler/target-disassem.lisp