Index: runtime/vm/assembler_x64.h |
diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h |
index 9daaf6ca603bec7323e47cf937dac18866cb7d3a..c21d3021319293e3d4197b0f76ed365188c290a8 100644 |
--- a/runtime/vm/assembler_x64.h |
+++ b/runtime/vm/assembler_x64.h |
@@ -759,6 +759,13 @@ class Assembler : public ValueObject { |
intptr_t CodeSize() const { return buffer_.Size(); } |
intptr_t prologue_offset() const { return prologue_offset_; } |
+ |
+ // Count the fixups that produce a pointer offset, without processing |
+ // the fixups. |
+ intptr_t CountPointerOffsets() const { |
+ return buffer_.CountPointerOffsets(); |
+ } |
+ |
const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const { |
return buffer_.pointer_offsets(); |
} |