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/code-stub-assembler.h

Issue 2539093002: [runtime] Port simple String.prototype.indexOf cases to TF Builtin (Closed)
Patch Set: call runtime for large strings 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
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index dd8769b3005f900cc7b1fdbf688801d03416e0e9..7751257a7dd8da1a5ba6157003a6394a59b18b26 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -109,7 +109,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 mininum of the two providede IntPtr values.
Jakob Kummerow 2016/12/06 06:58:40 nit: s/num/mum/, s/dede/ded/
Camillo Bruni 2016/12/12 15:45:20 ;) done
+ Node* IntPtrMin(Node* left, Node* right);
// Float64 operations.
Node* Float64Ceil(Node* x);

Powered by Google App Engine
This is Rietveld 408576698