Chromium Code Reviews| Index: src/compiler/escape-analysis.cc |
| diff --git a/src/compiler/escape-analysis.cc b/src/compiler/escape-analysis.cc |
| index ebeae3218109786c139b0e31a555d2ce7afce0df..847750f4b0127f3daa573e0fc9fd0b00057fec22 100644 |
| --- a/src/compiler/escape-analysis.cc |
| +++ b/src/compiler/escape-analysis.cc |
| @@ -454,6 +454,7 @@ EscapeStatusAnalysis::~EscapeStatusAnalysis() {} |
| bool EscapeStatusAnalysis::HasEntry(Node* node) { |
| + info_.resize(graph()->NodeCount()); |
|
Benedikt Meurer
2015/12/16 17:53:56
How about
if (node->id() >= info_.size()) return
sigurds
2015/12/17 10:16:32
I want to get rid of the checks here, see comments
|
| return info_[node->id()] != kUnknown; |
| } |