| Index: runtime/vm/scavenger.h
|
| diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h
|
| index 874212f6c4841619b38186ee5208b66ac2706ac7..1afe1456ec9a61569e18597c8452a8bb87499c2d 100644
|
| --- a/runtime/vm/scavenger.h
|
| +++ b/runtime/vm/scavenger.h
|
| @@ -73,6 +73,11 @@ class Scavenger {
|
|
|
| void VisitObjectPointers(ObjectPointerVisitor* visitor) const;
|
|
|
| + // Returns true if the last scavenge had a promotion failure.
|
| + bool HadPromotionFailure() {
|
| + return had_promotion_failure_;
|
| + }
|
| +
|
| private:
|
| uword FirstObjectStart() const { return to_->start() | object_alignment_; }
|
| void Prologue(Isolate* isolate, bool invoke_api_callbacks);
|
|
|