Fixes to make GCC happier.

This commit is contained in:
Bob Nystrom
2014-11-26 14:03:05 -08:00
parent f6cbb6ad75
commit 83c2013dfb
5 changed files with 13 additions and 4 deletions
+3
View File
@@ -2248,6 +2248,9 @@ static int getNumArguments(const uint8_t* bytecode, const Value* constants,
// There are two bytes for the constant, then two for each upvalue.
return 2 + (loadedFn->numUpvalues * 2);
}
default:
UNREACHABLE();
}
}