Index: src/regexp/regexp-parser.cc |
diff --git a/src/regexp/regexp-parser.cc b/src/regexp/regexp-parser.cc |
index 7bf35c4a92b0e1970fab036dfec3e62190738584..0df12dcbab7e73357571665090183876092275c6 100644 |
--- a/src/regexp/regexp-parser.cc |
+++ b/src/regexp/regexp-parser.cc |
@@ -843,6 +843,7 @@ bool RegExpParser::ParseUnicodeEscape(uc32* value) { |
return result; |
} |
+#ifdef V8_I18N_SUPPORT |
bool LookupPropertyClass(UProperty property, const char* property_name, |
ZoneList<CharacterRange>* result, Zone* zone) { |
int32_t property_value = u_getPropertyValueEnum(property, property_name); |
@@ -869,6 +870,7 @@ bool LookupPropertyClass(UProperty property, const char* property_name, |
uset_close(set); |
return success; |
} |
+#endif // V8_I18N_SUPPORT |
bool RegExpParser::ParsePropertyClass(ZoneList<CharacterRange>* result) { |
#ifdef V8_I18N_SUPPORT |