summaryrefslogtreecommitdiffstats
path: root/runtime/jvalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jvalue.h')
-rw-r--r--runtime/jvalue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/jvalue.h b/runtime/jvalue.h
index b39567b29..6a6d1986d 100644
--- a/runtime/jvalue.h
+++ b/runtime/jvalue.h
@@ -61,6 +61,8 @@ union PACKED(4) JValue {
uint8_t GetZ() const { return z; }
void SetZ(uint8_t new_z) { z = new_z; }
+ mirror::Object** GetGCRoot() { return &l; }
+
private:
uint8_t z;
int8_t b;