@@ -297,32 +297,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
297
297
}
298
298
299
299
// Synchronization primitives
300
- "AcquireSRWLockExclusive" => {
301
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
302
- this. AcquireSRWLockExclusive ( ptr) ?;
303
- }
304
- "ReleaseSRWLockExclusive" => {
305
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
306
- this. ReleaseSRWLockExclusive ( ptr) ?;
307
- }
308
- "TryAcquireSRWLockExclusive" => {
309
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
310
- let ret = this. TryAcquireSRWLockExclusive ( ptr) ?;
311
- this. write_scalar ( ret, dest) ?;
312
- }
313
- "AcquireSRWLockShared" => {
314
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
315
- this. AcquireSRWLockShared ( ptr) ?;
316
- }
317
- "ReleaseSRWLockShared" => {
318
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
319
- this. ReleaseSRWLockShared ( ptr) ?;
320
- }
321
- "TryAcquireSRWLockShared" => {
322
- let [ ptr] = this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
323
- let ret = this. TryAcquireSRWLockShared ( ptr) ?;
324
- this. write_scalar ( ret, dest) ?;
325
- }
326
300
"InitOnceBeginInitialize" => {
327
301
let [ ptr, flags, pending, context] =
328
302
this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
@@ -335,25 +309,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
335
309
let result = this. InitOnceComplete ( ptr, flags, context) ?;
336
310
this. write_scalar ( result, dest) ?;
337
311
}
338
- "SleepConditionVariableSRW" => {
339
- let [ condvar, lock, timeout, flags] =
340
- this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
341
-
342
- let result = this. SleepConditionVariableSRW ( condvar, lock, timeout, flags, dest) ?;
343
- this. write_scalar ( result, dest) ?;
344
- }
345
- "WakeConditionVariable" => {
346
- let [ condvar] =
347
- this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
348
-
349
- this. WakeConditionVariable ( condvar) ?;
350
- }
351
- "WakeAllConditionVariable" => {
352
- let [ condvar] =
353
- this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
354
-
355
- this. WakeAllConditionVariable ( condvar) ?;
356
- }
357
312
"WaitOnAddress" => {
358
313
let [ ptr_op, compare_op, size_op, timeout_op] =
359
314
this. check_shim ( abi, Abi :: System { unwind : false } , link_name, args) ?;
0 commit comments