summaryrefslogtreecommitdiff
path: root/src/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack.h')
-rw-r--r--src/stack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stack.h b/src/stack.h
index e2148a34d8..8e597b2b3a 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -145,6 +145,11 @@ class ShadowFrame {
}
}
+ // Get view of vregs as range of consecutive arguments starting at i.
+ uint32_t* GetVRegArgs(size_t i) {
+ return &vregs_[i];
+ }
+
void SetVReg(size_t i, int32_t val) {
DCHECK_LT(i, NumberOfVRegs());
uint32_t* vreg = &vregs_[i];