Commit 7c2e09eb authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #701 from toshok/fix-build

fix null check
parents 4c287215 0f08d35b
......@@ -229,7 +229,7 @@ bool GCVisitor::isValid(void* p) {
void GCVisitor::visit(void* p) {
if ((uintptr_t)p < SMALL_ARENA_START || (uintptr_t)p >= HUGE_ARENA_START + ARENA_SIZE) {
ASSERT(isNonheapRoot(p), "%p", p);
ASSERT(!p || isNonheapRoot(p), "%p", p);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment