Skip to content

Commit

Permalink
Fix vm/cc/Pages unittest breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmccutchan committed Oct 6, 2015
1 parent da57412 commit c6650da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/vm/pages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ void PageSpace::AbandonBumpAllocation() {


void PageSpace::UpdateMaxCapacityLocked() {
if (heap_ == NULL) {
// Some unit tests.
return;
}
ASSERT(heap_ != NULL);
ASSERT(heap_->isolate() != NULL);
Isolate* isolate = heap_->isolate();
Expand Down

0 comments on commit c6650da

Please sign in to comment.