| Index: src/safepoint-table.h
|
| diff --git a/src/safepoint-table.h b/src/safepoint-table.h
|
| index 2933e7d060a51f855deece00bdebefadda9383b5..08450ea36c85a4cebf4fc9488fd5abcf1e621b77 100644
|
| --- a/src/safepoint-table.h
|
| +++ b/src/safepoint-table.h
|
| @@ -225,6 +225,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);
|
|
|