1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: this seems to fix intermittent validator problems on big endian
archs, see https://github.com/rakudo/rakudo/issues/1711
Author: Robert Lemmen <robertle@semistable.com>
diff --git a/src/core/validation.c b/src/core/validation.c
index 870e6f4b6..88fb39533 100644
--- a/src/core/validation.c
+++ b/src/core/validation.c
@@ -661,8 +661,8 @@ void MVM_validate_static_frame(MVMThreadContext *tc,
val->loc_count = fb->num_locals;
val->loc_types = fb->local_types;
val->bc_size = fb->bytecode_size;
- val->src_cur_op = fb->bytecode;
- val->src_bc_end = fb->bytecode + fb->bytecode_size;
+ val->src_cur_op = fb->orig_bytecode;
+ val->src_bc_end = fb->orig_bytecode + fb->bytecode_size;
val->labels = MVM_calloc(1, fb->bytecode_size);
val->cur_info = NULL;
val->cur_mark = NULL;
|