OSX warnings

- fix OSS warnings
Esse commit está contido em:
Sean Cannella
2013-07-12 11:30:46 -07:00
commit de Sara Golemon
commit 7d07873817
2 arquivos alterados com 3 adições e 3 exclusões
+1 -1
Ver Arquivo
@@ -214,7 +214,7 @@ bool CmdNext::atStepContOffset(Unit* unit, Offset o) {
// simplicity of the exceptional path.
void CmdNext::setupStepCont(ActRec* fp, PC pc) {
// One byte + one byte argument
auto ops = reinterpret_cast<const Op*>(pc);
DEBUG_ONLY auto ops = reinterpret_cast<const Op*>(pc);
assert(ops[0] == OpContSuspend || ops[0] == OpContSuspendK);
assert(ops[2] == OpNull); // One byte
assert(ops[3] == OpThrow); // One byte
+2 -2
Ver Arquivo
@@ -3250,8 +3250,8 @@ TranslatorX64::translateWork(const TranslArgs& args) {
FTRACE(1, "trying irTranslateTracelet\n");
assertCleanState();
result = irTranslateTracelet(*tp);
static const bool requireRegion = getenv("HHVM_REQUIRE_REGION");
assert(IMPLIES(region && requireRegion, result != Success));
DEBUG_ONLY static const bool reqRegion = getenv("HHVM_REQUIRE_REGION");
assert(IMPLIES(region && reqRegion, result != Success));
}
if (result != Success) {