From 59b2a173d2957b808ec840d496b569cd278a234f Mon Sep 17 00:00:00 2001 From: Jordan DeLong Date: Fri, 5 Jul 2013 12:46:17 -0700 Subject: [PATCH] Fix varCopy --- hphp/runtime/base/tv_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hphp/runtime/base/tv_helpers.h b/hphp/runtime/base/tv_helpers.h index ec8ec9e68..d0f2315d7 100644 --- a/hphp/runtime/base/tv_helpers.h +++ b/hphp/runtime/base/tv_helpers.h @@ -203,7 +203,7 @@ inline void cellCopy(const Cell& fr, Cell& to) { tvCopy(fr, to); } inline void varCopy(const Var& fr, Var& to) { - assert(cellIsPlausible(&fr)); + assert(varIsPlausible(&fr)); tvCopy(fr, to); }