Index: src/ast.cc |
=================================================================== |
--- src/ast.cc (revision 10035) |
+++ src/ast.cc (working copy) |
@@ -710,6 +710,10 @@ |
TypeInfo info = oracle->SwitchType(this); |
if (info.IsSmi()) { |
compare_type_ = SMI_ONLY; |
+ } else if (info.IsSymbol()) { |
+ compare_type_ = SYMBOL_ONLY; |
+ } else if (info.IsNonSymbol()) { |
+ compare_type_ = STRING_ONLY; |
} else if (info.IsNonPrimitive()) { |
compare_type_ = OBJECT_ONLY; |
} else { |
@@ -893,9 +897,7 @@ |
FOR_EACH_REG_EXP_TREE_TYPE(MAKE_TYPE_CASE) |
#undef MAKE_TYPE_CASE |
-RegExpEmpty RegExpEmpty::kInstance; |
- |
static Interval ListCaptureRegisters(ZoneList<RegExpTree*>* children) { |
Interval result = Interval::Empty(); |
for (int i = 0; i < children->length(); i++) |