Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: src/external-reference-table.cc

Issue 2814373002: [string] Widen StringIndexOf fast path (Closed)
Patch Set: Address comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/raw-machine-assembler.cc ('k') | src/string-search.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/external-reference-table.cc
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc
index f43680749f0ce9c01c706917b51066d016bfcdcb..3c32231eb42a3045bfc73722dd9147a8751f7120 100644
--- a/src/external-reference-table.cc
+++ b/src/external-reference-table.cc
@@ -239,6 +239,19 @@ void ExternalReferenceTable::AddReferences(Isolate* isolate) {
"libc_memset");
Add(ExternalReference::try_internalize_string_function(isolate).address(),
"try_internalize_string_function");
+ Add(ExternalReference::search_string_raw<const uint8_t, const uint8_t>(
+ isolate)
+ .address(),
+ "search_string_raw<1-byte, 1-byte>");
+ Add(ExternalReference::search_string_raw<const uint8_t, const uc16>(isolate)
+ .address(),
+ "search_string_raw<1-byte, 2-byte>");
+ Add(ExternalReference::search_string_raw<const uc16, const uint8_t>(isolate)
+ .address(),
+ "search_string_raw<2-byte, 1-byte>");
+ Add(ExternalReference::search_string_raw<const uc16, const uc16>(isolate)
+ .address(),
+ "search_string_raw<1-byte, 2-byte>");
Add(ExternalReference::log_enter_external_function(isolate).address(),
"Logger::EnterExternal");
Add(ExternalReference::log_leave_external_function(isolate).address(),
« no previous file with comments | « src/compiler/raw-machine-assembler.cc ('k') | src/string-search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698