| Index: src/safepoint-table.h
|
| diff --git a/src/safepoint-table.h b/src/safepoint-table.h
|
| index 8803d06f5b49de72599810b1cd694c49fa56f360..2cb19942c4daf33b9eeae941b7d92601bd67d677 100644
|
| --- a/src/safepoint-table.h
|
| +++ b/src/safepoint-table.h
|
| @@ -228,6 +228,14 @@ class SafepointTableBuilder BASE_EMBEDDED {
|
| deoptimization_info_[index].pc_after_gap = pc;
|
| }
|
|
|
| + // Get the end pc offset of the last safepoint, including the code generated
|
| + // until the end of the gap following it.
|
| + unsigned GetPcAfterGap() {
|
| + int index = deoptimization_info_.length();
|
| + if (index == 0) return 0;
|
| + return deoptimization_info_[index - 1].pc_after_gap;
|
| + }
|
| +
|
| // Emit the safepoint table after the body. The number of bits per
|
| // entry must be enough to hold all the pointer indexes.
|
| void Emit(Assembler* assembler, int bits_per_entry);
|
|
|