Static and direct resolution stub.
Ensure that invoke static and direct go through a stub that causes
resolution and initialization.
Change-Id: I872900560322817d8f4378b04ac410d9ea0b3b17
diff --git a/src/indirect_reference_table.h b/src/indirect_reference_table.h
index 5595ae7..5dca3d3 100644
--- a/src/indirect_reference_table.h
+++ b/src/indirect_reference_table.h
@@ -310,6 +310,14 @@
void VisitRoots(Heap::RootVisitor* visitor, void* arg);
+ uint32_t GetSegmentState() const {
+ return segment_state_.all;
+ }
+
+ void SetSegmentState(uint32_t new_state) {
+ segment_state_.all = new_state;
+ }
+
static Offset SegmentStateOffset() {
return Offset(OFFSETOF_MEMBER(IndirectReferenceTable, segment_state_));
}