vm: faster zone::contains_p()
parent
6f1217dab6
commit
39f4be940f
|
|
@ -20,7 +20,7 @@ struct zone {
|
|||
|
||||
inline bool contains_p(object *pointer)
|
||||
{
|
||||
return (cell)pointer >= start && (cell)pointer < end;
|
||||
return ((cell)pointer - start) < size;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue