| Index: src/compiler/osr.cc
|
| diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc
|
| index 6f30963067ab21b9f49873a44952646062fa8c1f..a4b845249f0ed3649f5f963f2c371dc84f168c5e 100644
|
| --- a/src/compiler/osr.cc
|
| +++ b/src/compiler/osr.cc
|
| @@ -40,18 +40,18 @@ bool OsrHelper::Deconstruct(JSGraph* jsgraph, CommonOperatorBuilder* common,
|
|
|
| if (osr_loop_entry == nullptr) {
|
| // No OSR entry found, do nothing.
|
| - CHECK_NE(nullptr, osr_normal_entry);
|
| + CHECK(osr_normal_entry);
|
| return true;
|
| }
|
|
|
| for (Node* use : osr_loop_entry->uses()) {
|
| if (use->opcode() == IrOpcode::kLoop) {
|
| - CHECK_EQ(nullptr, osr_loop); // should be only one OSR loop.
|
| + CHECK(!osr_loop); // should be only one OSR loop.
|
| osr_loop = use; // found the OSR loop.
|
| }
|
| }
|
|
|
| - CHECK_NE(nullptr, osr_loop); // Should have found the OSR loop.
|
| + CHECK(osr_loop); // Should have found the OSR loop.
|
|
|
| // Analyze the graph to determine how deeply nested the OSR loop is.
|
| LoopTree* loop_tree = LoopFinder::BuildLoopTree(graph, tmp_zone);
|
|
|