diff --git a/hphp/runtime/vm/translator/hopt/tracebuilder.cpp b/hphp/runtime/vm/translator/hopt/tracebuilder.cpp index df91c1ab2..d4af9cf45 100644 --- a/hphp/runtime/vm/translator/hopt/tracebuilder.cpp +++ b/hphp/runtime/vm/translator/hopt/tracebuilder.cpp @@ -340,7 +340,6 @@ void TraceBuilder::updateTrackedState(IRInstruction* inst) { case InterpOne: { m_spValue = inst->getDst(); int64_t stackAdjustment = inst->getSrc(3)->getValInt(); - Type resultType = inst->getTypeParam(); // push the return value if any and adjust for the popped values m_spOffset -= stackAdjustment; break; diff --git a/hphp/runtime/vm/translator/hopt/vectortranslator-internal.h b/hphp/runtime/vm/translator/hopt/vectortranslator-internal.h index 9b4735e82..1fb224805 100644 --- a/hphp/runtime/vm/translator/hopt/vectortranslator-internal.h +++ b/hphp/runtime/vm/translator/hopt/vectortranslator-internal.h @@ -106,7 +106,7 @@ inline unsigned buildBitmask(T c, Args... args) { // both, respectively. static KeyType getKeyType(const SSATmp* key, bool nonLitStr, bool nonLitInt) { - auto keyType = key->type(); + auto DEBUG_ONLY keyType = key->type(); assert(keyType.notBoxed()); assert(keyType.isKnownDataType() || keyType.equals(Type::Cell));