Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 72176a5b17928f99ede351de58e720b30707c981..7bd12d149b18c38bf0e8fd90fc92b71ef7e51d45 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -91,6 +91,10 @@ |
#endif // Target architecture. |
#endif // V8_INTERPRETED_REGEXP |
+#ifdef V8_INTL_SUPPORT |
+#include "src/intl.h" |
+#endif // V8_INTL_SUPPORT |
+ |
namespace v8 { |
namespace internal { |
@@ -1572,6 +1576,20 @@ ExternalReference ExternalReference::try_internalize_string_function( |
isolate, FUNCTION_ADDR(StringTable::LookupStringIfExists_NoAllocate))); |
} |
+#ifdef V8_INTL_SUPPORT |
+ExternalReference ExternalReference::intl_convert_one_byte_to_lower( |
+ Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(ConvertOneByteToLower))); |
+} |
+ |
+ExternalReference ExternalReference::intl_to_latin1_lower_table( |
+ Isolate* isolate) { |
+ uint8_t* ptr = const_cast<uint8_t*>(ToLatin1LowerTable()); |
+ return ExternalReference(reinterpret_cast<Address>(ptr)); |
+} |
+#endif // V8_INTL_SUPPORT |
+ |
// Explicit instantiations for all combinations of 1- and 2-byte strings. |
template ExternalReference |
ExternalReference::search_string_raw<const uint8_t, const uint8_t>(Isolate*); |