Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/src/char-predicates-inl.h b/src/char-predicates-inl.h
index 71d1b06..ab5caa7 100644
--- a/src/char-predicates-inl.h
+++ b/src/char-predicates-inl.h
@@ -35,6 +35,13 @@
static_cast<unsigned int>(higher_limit - lower_limit);
}
+inline bool IsAsciiIdentifier(uc32 c) {
+ return IsAlphaNumeric(c) || c == '$' || c == '_';
+}
+
+inline bool IsAlphaNumeric(uc32 c) {
+ return IsInRange(AsciiAlphaToLower(c), 'a', 'z') || IsDecimalDigit(c);
+}
inline bool IsDecimalDigit(uc32 c) {
// ECMA-262, 3rd, 7.8.3 (p 16)
@@ -78,6 +85,7 @@
}
-} } // namespace v8::internal
+} // namespace internal
+} // namespace v8
#endif // V8_CHAR_PREDICATES_INL_H_