Fix signed-compare error with gcc 4.9.2.
From 41f3e782d9
.
BUG=
Review URL: https://codereview.chromium.org/1431843002
Cr-Commit-Position: refs/heads/master@{#31807}
This commit is contained in:
parent
8ae7c9abc3
commit
0bc51ef620
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user