Chromium Code Reviews| Index: src/compiler/simplified-lowering.cc |
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
| index 482a283e855bd54fef1a4bf77c235333dad4d926..e7e0677491b9625e09b46fb2abfe34d01ebea7ad 100644 |
| --- a/src/compiler/simplified-lowering.cc |
| +++ b/src/compiler/simplified-lowering.cc |
| @@ -72,7 +72,7 @@ class RepresentationSelector { |
| SourcePositionTable* source_positions) |
| : jsgraph_(jsgraph), |
| count_(jsgraph->graph()->NodeCount()), |
| - info_(zone->NewArray<NodeInfo>(count_)), |
| + info_(zone->NewArray<NodeInfo>(static_cast<int>(count_))), |
|
Sven Panne
2015/06/12 11:19:36
AFAICT, we don't need the static_cast here. By des
|
| nodes_(zone), |
| replacements_(zone), |
| phase_(PROPAGATE), |
| @@ -1085,7 +1085,7 @@ class RepresentationSelector { |
| private: |
| JSGraph* jsgraph_; |
| - int count_; // number of nodes in the graph |
| + size_t const count_; // number of nodes in the graph |
| NodeInfo* info_; // node id -> usage information |
| NodeVector nodes_; // collected nodes |
| NodeVector replacements_; // replacements to be done after lowering |