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

Unified Diff: src/code-factory.h

Issue 1765823002: [compiler] Introduce code stubs for string relational comparisons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
Index: src/code-factory.h
diff --git a/src/code-factory.h b/src/code-factory.h
index 6431534872152ffeb3402de7af3380e6a26928e2..663e73ae3eb535f31458eaa86311da42494a4058 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -84,9 +84,13 @@ class CodeFactory final {
static Callable StringAdd(Isolate* isolate, StringAddFlags flags,
PretenureFlag pretenure_flag);
- static Callable StringCompare(Isolate* isolate);
+ static Callable StringCompare(Isolate* isolate, Token::Value token);
static Callable StringEqual(Isolate* isolate);
static Callable StringNotEqual(Isolate* isolate);
+ static Callable StringLessThan(Isolate* isolate);
+ static Callable StringLessThanOrEqual(Isolate* isolate);
+ static Callable StringGreaterThan(Isolate* isolate);
+ static Callable StringGreaterThanOrEqual(Isolate* isolate);
static Callable SubString(Isolate* isolate);
static Callable Typeof(Isolate* isolate);

Powered by Google App Engine
This is Rietveld 408576698