projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix inline fixnum LDB on PowerPC for certain bytespecs
[sbcl.git]
/
src
/
runtime
/
breakpoint.c
diff --git
a/src/runtime/breakpoint.c
b/src/runtime/breakpoint.c
index
a325693
..
5cada3e
100644
(file)
--- a/
src/runtime/breakpoint.c
+++ b/
src/runtime/breakpoint.c
@@
-116,7
+116,7
@@
static long compute_offset(os_context_t *context, lispobj code)
return 0;
else {
unsigned long offset = pc - code_start;
return 0;
else {
unsigned long offset = pc - code_start;
- if (offset >= codeptr->code_size)
+ if (offset >= (N_WORD_BYTES * fixnum_value(codeptr->code_size)))
return 0;
else
return make_fixnum(offset);
return 0;
else
return make_fixnum(offset);