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

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

Issue 2358263002: [builtins] migrate C++ String Iterator builtins to baseline TurboFan (Closed)
Patch Set: v3 (try again, but probably not ._.) Created 4 years, 3 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-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 76bd5dee425d1884140b46c0997fff4abdceadec..dc6f0637a00471d66caebb5732b78d2ef6ffaf25 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -444,6 +444,11 @@ class CodeStubAssembler : public compiler::CodeAssembler {
// Return the single character string with only {code}.
compiler::Node* StringFromCharCode(compiler::Node* code);
+ // Return a String made up of the codepoint at index.
+ compiler::Node* StringFromCodePointAt(compiler::Node* string,
+ compiler::Node* length,
+ compiler::Node* index);
+
// Type conversion helpers.
// Convert a String to a Number.
compiler::Node* StringToNumber(compiler::Node* context,

Powered by Google App Engine
This is Rietveld 408576698