File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1554,16 +1554,14 @@ impl MetricMap {
1554
1554
/// elimination.
1555
1555
///
1556
1556
/// This function is a no-op, and does not even read from `dummy`.
1557
- #[ cfg( not( any( all( target_os = "nacl" , target_arch = "le32" ) ,
1558
- target_arch = "asmjs" , target_arch = "wasm32" ) ) ) ]
1557
+ #[ cfg( not( any( target_arch = "asmjs" , target_arch = "wasm32" ) ) ) ]
1559
1558
pub fn black_box < T > ( dummy : T ) -> T {
1560
1559
// we need to "use" the argument in some way LLVM can't
1561
1560
// introspect.
1562
1561
unsafe { asm ! ( "" : : "r" ( & dummy) ) }
1563
1562
dummy
1564
1563
}
1565
- #[ cfg( any( all( target_os = "nacl" , target_arch = "le32" ) ,
1566
- target_arch = "asmjs" , target_arch = "wasm32" ) ) ]
1564
+ #[ cfg( any( target_arch = "asmjs" , target_arch = "wasm32" ) ) ]
1567
1565
#[ inline( never) ]
1568
1566
pub fn black_box < T > ( dummy : T ) -> T {
1569
1567
dummy
You can’t perform that action at this time.
0 commit comments