Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 938f4d4fbf9ae87616cc4a4bd86dc751bd4f31eb..796bd9f7443412a47f0f4be1378302d00833e563 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -88,7 +88,7 @@ struct MergeValues { |
} vals; // Either multiple values or a single value. |
Value& first() { |
- DCHECK_GT(arity, 0u); |
+ DCHECK_GT(arity, 0); |
return arity == 1 ? vals.first : vals.array[0]; |
} |
}; |
@@ -577,7 +577,7 @@ class WasmFullDecoder : public WasmDecoder { |
// Decodes the locals declarations, if any, populating {local_type_vec_}. |
void DecodeLocalDecls() { |
- DCHECK_EQ(0u, local_type_vec_.size()); |
+ DCHECK_EQ(0, local_type_vec_.size()); |
// Initialize {local_type_vec} from signature. |
if (sig_) { |
local_type_vec_.reserve(sig_->parameter_count()); |
@@ -1443,7 +1443,7 @@ class WasmFullDecoder : public WasmDecoder { |
Value val = {pc_, nullptr, kAstStmt}; |
return val; |
} else { |
- DCHECK_LE(stack_depth, static_cast<int>(stack_.size())); |
+ DCHECK_LE(stack_depth, stack_.size()); |
Value val = Pop(); |
stack_.resize(stack_depth); |
return val; |