From 0bc51ef6208b4c98e51ba726c9ea974c206e66d0 Mon Sep 17 00:00:00 2001 From: "paul.lind" Date: Wed, 4 Nov 2015 14:06:20 -0800 Subject: [PATCH] Fix signed-compare error with gcc 4.9.2. From 41f3e782d968. BUG= Review URL: https://codereview.chromium.org/1431843002 Cr-Commit-Position: refs/heads/master@{#31807} --- src/interpreter/bytecode-array-builder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc index 87c61358e8..b7243af4a8 100644 --- a/src/interpreter/bytecode-array-builder.cc +++ b/src/interpreter/bytecode-array-builder.cc @@ -783,7 +783,7 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::New(Register constructor, Register first_arg, size_t arg_count) { if (!first_arg.is_valid()) { - DCHECK_EQ(0, arg_count); + DCHECK_EQ(0u, arg_count); first_arg = Register(0); } DCHECK(FitsInIdx8Operand(arg_count)); @@ -798,7 +798,7 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallRuntime( DCHECK(FitsInIdx16Operand(function_id)); DCHECK(FitsInIdx8Operand(arg_count)); if (!first_arg.is_valid()) { - DCHECK_EQ(0, arg_count); + DCHECK_EQ(0u, arg_count); first_arg = Register(0); } Output(Bytecode::kCallRuntime, static_cast(function_id),