OSX warnings
- fix OSS warnings
Esse commit está contido em:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário