Commit 0bc51ef6 authored by paul.lind's avatar paul.lind Committed by Commit bot

Fix signed-compare error with gcc 4.9.2.

From 41f3e782.

BUG=

Review URL: https://codereview.chromium.org/1431843002

Cr-Commit-Position: refs/heads/master@{#31807}
parent 8ae7c9ab
......@@ -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<uint16_t>(function_id),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment