Fix conflicts with msvc arm neon64 intrinsics (#28164)

pull/28222/head
Niyas Sait 3 years ago committed by GitHub
parent 2eadef9a82
commit d88a57b350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/core/lib/transport/transport.cc

@ -77,16 +77,16 @@ void grpc_stream_ref_init(grpc_stream_refcount* refcount, int /*initial_refs*/,
: nullptr);
}
static void move64(uint64_t* from, uint64_t* to) {
static void move64bits(uint64_t* from, uint64_t* to) {
*to += *from;
*from = 0;
}
void grpc_transport_move_one_way_stats(grpc_transport_one_way_stats* from,
grpc_transport_one_way_stats* to) {
move64(&from->framing_bytes, &to->framing_bytes);
move64(&from->data_bytes, &to->data_bytes);
move64(&from->header_bytes, &to->header_bytes);
move64bits(&from->framing_bytes, &to->framing_bytes);
move64bits(&from->data_bytes, &to->data_bytes);
move64bits(&from->header_bytes, &to->header_bytes);
}
void grpc_transport_move_stats(grpc_transport_stream_stats* from,

Loading…
Cancel
Save