VMError::print_native_stack takes the frame argument by value, even though it's a non-trivial structure (4 pointers, int, bool). It should be passed by const reference.
Unfortunately, changing it is not trivial, because of const-correctness propagation. There are a number of functions on frame that aren't sufficiently const-qualified.
Unfortunately, changing it is not trivial, because of const-correctness propagation. There are a number of functions on frame that aren't sufficiently const-qualified.