Chromium Code Reviews| Index: src/compiler/state-values-utils.cc |
| diff --git a/src/compiler/state-values-utils.cc b/src/compiler/state-values-utils.cc |
| index d5b7a28f5e9117315496d789ac8d77b4953f1720..2d643d78ab429478da472acbb3b77853e8456c2a 100644 |
| --- a/src/compiler/state-values-utils.cc |
| +++ b/src/compiler/state-values-utils.cc |
| @@ -170,6 +170,11 @@ Node* StateValuesCache::BuildTree(ValueArrayIterator* it, size_t max_height) { |
| Node* StateValuesCache::GetNodeForValues(Node** values, size_t count) { |
| +#if DEBUG |
| + for (size_t i = 0; i < count; i++) { |
| + DCHECK_NE(values[i]->opcode(), IrOpcode::kStateValues); |
|
Benedikt Meurer
2015/03/17 05:12:03
Nit: expected, actual
|
| + } |
| +#endif |
| if (count == 0) { |
| return GetEmptyStateValues(); |
| } |