Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions block_to_imp.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ IMP imp_implementationWithBlock(id block)
// to 1 so that b[l]x instructions put the CPU in the correct mode.
addr |= 1;
#endif
if ( next->block == NULL ) {
// we've run out of trampolinesi
// trigger allocation of new ones next time around
*setptr = NULL;
}
return (IMP)addr;
}
}
Expand Down
Loading