File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -169,8 +169,14 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
169
169
_ => throw_unsup_format ! ( "unknown `miri_resolve_frame` flags {}" , flags) ,
170
170
}
171
171
172
- this. write_scalar ( Scalar :: from_u32 ( lineno) , & this. project_field ( dest, FieldIdx :: from_u32 ( 2 ) ) ?) ?;
173
- this. write_scalar ( Scalar :: from_u32 ( colno) , & this. project_field ( dest, FieldIdx :: from_u32 ( 3 ) ) ?) ?;
172
+ this. write_scalar (
173
+ Scalar :: from_u32 ( lineno) ,
174
+ & this. project_field ( dest, FieldIdx :: from_u32 ( 2 ) ) ?,
175
+ ) ?;
176
+ this. write_scalar (
177
+ Scalar :: from_u32 ( colno) ,
178
+ & this. project_field ( dest, FieldIdx :: from_u32 ( 3 ) ) ?,
179
+ ) ?;
174
180
175
181
// Support a 4-field struct for now - this is deprecated
176
182
// and slated for removal.
Original file line number Diff line number Diff line change @@ -286,7 +286,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
286
286
287
287
if op == epoll_ctl_add || op == epoll_ctl_mod {
288
288
// Read event bitmask and data from epoll_event passed by caller.
289
- let mut events = this. read_scalar ( & this. project_field ( & event, FieldIdx :: ZERO ) ?) ?. to_u32 ( ) ?;
289
+ let mut events =
290
+ this. read_scalar ( & this. project_field ( & event, FieldIdx :: ZERO ) ?) ?. to_u32 ( ) ?;
290
291
let data = this. read_scalar ( & this. project_field ( & event, FieldIdx :: ONE ) ?) ?. to_u64 ( ) ?;
291
292
292
293
// Unset the flag we support to discover if any unsupported flags are used.
You can’t perform that action at this time.
0 commit comments