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

Unified Diff: src/code-stub-assembler.h

Issue 2539093002: [runtime] Port simple String.prototype.indexOf cases to TF Builtin (Closed)
Patch Set: merging with master Created 4 years 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/builtins/builtins-utils.h ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 4086100e0875572fe42664e06709d6759af4af5d..19ccf7f084cbdd016d02b2c3f7b74f25b48cdd33 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -139,7 +139,10 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* IntPtrSubFoldConstants(Node* left, Node* right);
// Round the 32bits payload of the provided word up to the next power of two.
Node* IntPtrRoundUpToPowerOfTwo32(Node* value);
+ // Select the maximum of the two provided IntPtr values.
Node* IntPtrMax(Node* left, Node* right);
+ // Select the minimum of the two provided IntPtr values.
+ Node* IntPtrMin(Node* left, Node* right);
// Float64 operations.
Node* Float64Ceil(Node* x);
« no previous file with comments | « src/builtins/builtins-utils.h ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698