Stack var from this var (LoadVariable). This is the variable that gets loaded onto the stack. Not always a direct clone because of value types.
(&self, by_ref: bool)
| 107 | /// This is the variable that gets loaded onto the stack. |
| 108 | /// Not always a direct clone because of value types. |
| 109 | pub fn stack_var(&self, by_ref: bool) -> Self { |
| 110 | let mut clone = self.clone(); |
| 111 | clone.val = self.val.duplicate(by_ref); |
| 112 | clone |
| 113 | } |
| 114 | |
| 115 | #[inline] |
| 116 | /// Get a value from this variable. |