From 07dde580048099c4278e294a2abfcd455b361bc1 Mon Sep 17 00:00:00 2001 From: mwilliams Date: Mon, 24 Jun 2013 08:20:47 -0700 Subject: [PATCH] Remove a not-yet-true assert In some circumstances we create unreachable blocks, making the assert invalid. Currently nothing depends on the assert being true, so remove it for now. --- hphp/runtime/vm/jit/check.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/hphp/runtime/vm/jit/check.cpp b/hphp/runtime/vm/jit/check.cpp index 7c77cd00f..777cf2e45 100644 --- a/hphp/runtime/vm/jit/check.cpp +++ b/hphp/runtime/vm/jit/check.cpp @@ -192,7 +192,6 @@ bool checkCfg(IRTrace* trace, const IRFactory& factory) { } for (Block* b : blocks) { for (DEBUG_ONLY auto const &e : b->preds()) { - assert(edges.find(&e) != edges.end()); assert(&e == takenEdge(e.from()) || &e == nextEdge(e.from())); assert(e.to() == b); }