Fix "unused variable" warnings

Esse commit está contido em:
Paul Tarjan
2013-05-17 22:10:15 -07:00
commit de Sara Golemon
commit 2a9761d838
2 arquivos alterados com 1 adições e 2 exclusões
@@ -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;
@@ -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));