diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc index 25615ade55..c26103d1d7 100644 --- a/src/compiler/verifier.cc +++ b/src/compiler/verifier.cc @@ -2138,7 +2138,6 @@ void Verifier::VerifyNode(Node* node) { bool check_no_control = node->op()->ControlOutputCount() == 0; bool check_no_effect = node->op()->EffectOutputCount() == 0; bool check_no_frame_state = node->opcode() != IrOpcode::kFrameState; - int effect_edges = 0; if (check_no_effect || check_no_control) { for (Edge edge : node->use_edges()) { Node* const user = edge.from(); @@ -2147,7 +2146,6 @@ void Verifier::VerifyNode(Node* node) { DCHECK(!check_no_control); } else if (NodeProperties::IsEffectEdge(edge)) { DCHECK(!check_no_effect); - effect_edges++; } else if (NodeProperties::IsFrameStateEdge(edge)) { DCHECK(!check_no_frame_state); } diff --git a/src/snapshot/read-only-deserializer.cc b/src/snapshot/read-only-deserializer.cc index 9c2de5caca..a4ecf344ce 100644 --- a/src/snapshot/read-only-deserializer.cc +++ b/src/snapshot/read-only-deserializer.cc @@ -37,7 +37,7 @@ void ReadOnlyDeserializer::DeserializeIntoIsolate() { ro_heap->read_only_space()->RepairFreeSpacesAfterDeserialization(); // Deserialize the Read-only Object Cache. - for (size_t i = 0;; ++i) { + for (;;) { Object* object = ro_heap->ExtendReadOnlyObjectCache(); // During deserialization, the visitor populates the read-only object // cache and eventually terminates the cache with undefined.