Add missing REST case to switch in `AnalyzePrototypeProperties`.
The missing case causes crashes when object-rest is used.
@@ -292,6 +292,7 @@ class AnalyzePrototypeProperties implements CompilerPass {
for (Node propNode = n.getFirstChild(); propNode != null; propNode = propNode.getNext()) {
switch (propNode.getToken()) {
case COMPUTED_PROP:
+ case REST:
case SPREAD:
break;
