Ensure functions always have a return even in release builds.

This commit is contained in:
Bob Nystrom
2014-12-01 21:36:06 -08:00
parent c001042276
commit e3cf80127b
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -2258,6 +2258,7 @@ static int getNumArguments(const uint8_t* bytecode, const Value* constants,
default:
UNREACHABLE();
return 0;
}
}