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

Unified Diff: src/builtins/builtins.h

Issue 2638393002: [builtins] Add String.prototype.indexOf fast path in TF (Closed)
Patch Set: hardcode paramater massaging Created 3 years, 11 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 | « no previous file | src/builtins/builtins-string.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index 5673ce21e0901bff74b36a0c7400e7a7d813a199..c90a7ebc0c7456c2c9cdd110436d56085b646dca 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -126,14 +126,15 @@ namespace internal {
ASM(StackCheck) \
\
/* String helpers */ \
+ TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt) \
+ TFS(StringCharCodeAt, BUILTIN, kNoExtraICState, StringCharCodeAt) \
TFS(StringEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
TFS(StringGreaterThan, BUILTIN, kNoExtraICState, Compare) \
TFS(StringGreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
- TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt) \
- TFS(StringCharCodeAt, BUILTIN, kNoExtraICState, StringCharCodeAt) \
+ TFS(StringIndexOf, BUILTIN, kNoExtraICState, StringIndexOf) \
+ TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare) \
+ TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
+ TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare) \
\
/* Interpreter */ \
ASM(InterpreterEntryTrampoline) \
« no previous file with comments | « no previous file | src/builtins/builtins-string.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698