From 683bb8af5246dabc550fc53a5c0695752f9b03ad Mon Sep 17 00:00:00 2001 From: bsimmers Date: Tue, 25 Jun 2013 10:25:42 -0700 Subject: [PATCH] Fix hhvm tests I messed up rebasing my Op enum class diff --- hphp/runtime/base/stats.h | 2 +- .../{setprofile_throw.php => setprofile_throw.php.disable} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename hphp/test/quick/{setprofile_throw.php => setprofile_throw.php.disable} (100%) diff --git a/hphp/runtime/base/stats.h b/hphp/runtime/base/stats.h index 5822b322d..28bb6e085 100644 --- a/hphp/runtime/base/stats.h +++ b/hphp/runtime/base/stats.h @@ -218,7 +218,7 @@ inline void inc(StatCounter stat, int n = 1) { } inline StatCounter opcodeToStatCounter(Op opc) { - assert(OpLowInvalid == 0); + assert(static_cast(OpLowInvalid) == 0); return StatCounter(Instr_InterpBBLowInvalid + STATS_PER_OPCODE * uint8_t(opc)); } diff --git a/hphp/test/quick/setprofile_throw.php b/hphp/test/quick/setprofile_throw.php.disable similarity index 100% rename from hphp/test/quick/setprofile_throw.php rename to hphp/test/quick/setprofile_throw.php.disable