Removed debug print statements.

pull/13171/head
Joshua Haberman 3 years ago
parent 7d5f4cd9b6
commit 1046d778a2
  1. 4
      upb/decode.c

@ -416,19 +416,15 @@ static bool decode_checkenum_slow(upb_Decoder* d, const char* ptr,
return false; return false;
} }
#include <stdio.h>
UPB_FORCEINLINE UPB_FORCEINLINE
static bool decode_checkenum(upb_Decoder* d, const char* ptr, upb_Message* msg, static bool decode_checkenum(upb_Decoder* d, const char* ptr, upb_Message* msg,
const upb_MiniTable_Enum* e, const upb_MiniTable_Enum* e,
const upb_MiniTable_Field* field, wireval* val) { const upb_MiniTable_Field* field, wireval* val) {
uint32_t v = val->uint32_val; uint32_t v = val->uint32_val;
// printf("@test:we are here\n");
if (UPB_LIKELY(v < 64) && UPB_LIKELY(((1ULL << v) & e->mask))) return true; if (UPB_LIKELY(v < 64) && UPB_LIKELY(((1ULL << v) & e->mask))) return true;
// printf("@test:we are here 2\n");
bool ans = decode_checkenum_slow(d, ptr, msg, e, field, v); bool ans = decode_checkenum_slow(d, ptr, msg, e, field, v);
// printf("@test:%d\n", (int)ans);
return ans; return ans;
} }

Loading…
Cancel
Save