Showing the changes to src/vm/stack.cpp (1 of 14 files). Show all
Unified · Split
| @@ -161,7 +161,7 @@ vm_module_ref_t *&vm_frame_t::prev_module_ref() const · 160 unmodified lines | |||
| 161 | 161 | ||
| 162 | pointer_t vm_frame_t::fixed_point_register_1() const | 162 | pointer_t vm_frame_t::fixed_point_register_1() const |
| 163 | { | 163 | { |
| 164 | const auto offset = vm_frame_constants::fixed_point_register_1_offset; | 164 | const auto offset = vm_frame_constants::fixed_point_register_1_offset(); |
| 165 | assert(offset < frame_type->size_in_bytes); | 165 | assert(offset < frame_type->size_in_bytes); |
| 166 | 166 | ||
| 167 | auto p = reinterpret_cast<uint8_t *>(base()) + offset; | 167 | auto p = reinterpret_cast<uint8_t *>(base()) + offset; |
| @@ -170,7 +170,7 @@ pointer_t vm_frame_t::fixed_point_register_1() const · 2 unmodified lines | |||
| 170 | 170 | ||
| 171 | pointer_t vm_frame_t::fixed_point_register_2() const | 171 | pointer_t vm_frame_t::fixed_point_register_2() const |
| 172 | { | 172 | { |
| 173 | const auto offset = vm_frame_constants::fixed_point_register_2_offset; | 173 | const auto offset = vm_frame_constants::fixed_point_register_2_offset(); |
| 174 | assert(offset < frame_type->size_in_bytes); | 174 | assert(offset < frame_type->size_in_bytes); |
| 175 | 175 | ||
| 176 | auto p = reinterpret_cast<uint8_t *>(base()) + offset; | 176 | auto p = reinterpret_cast<uint8_t *>(base()) + offset; |