Rename Frame::IncreaseOffset() to Frame::AdjustOffset()

For clarity, since it's used for both increasing and decreasing.
This commit is contained in:
Jon Siwek 2020-12-13 13:27:05 -08:00
parent 7393fc6d24
commit 2219a03344
2 changed files with 5 additions and 5 deletions

View file

@ -99,13 +99,13 @@ public:
{ return GetElementByID(id).get(); }
/**
* Increases the current offset being used for frame accesses.
* Adjusts the current offset being used for frame accesses.
* This is in support of inlined functions.
*
* @param incr Amount by which to increase the frame offset.
* Use a negative value to shrink the offset.
*/
void IncreaseOffset(int incr) { current_offset += incr; }
void AdjustOffset(int incr) { current_offset += incr; }
/**
* Resets all of the indexes from [*startIdx, frame_size) in