Chromium Code Reviews| Index: src/ast/ast.cc |
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
| index 530bd50aaf7e12fadf6860b241663b594c5c514c..7fa115524d1a852f8eb70b71fc631d4711971270 100644 |
| --- a/src/ast/ast.cc |
| +++ b/src/ast/ast.cc |
| @@ -511,7 +511,7 @@ void ObjectLiteral::BuildConstantProperties(Isolate* isolate) { |
| continue; |
| } |
| - if (position == boilerplate_properties_ * 2) { |
| + if (static_cast<uint32_t>(position) == boilerplate_properties_ * 2) { |
| DCHECK(property->is_computed_name()); |
| is_simple = false; |
| break; |