Description[turbofan] Introduce a dedicated StringCharAt operator.
Previously String element access and String.prototype.charAt were
lowered to a subgraph StringFromCharCode(StringCharCodeAt(s, k)),
however that can be fairly expensive both runtime and compile time
wise. The dedicated StringCharAt operator is implemented via a call
to a builtin that does exactly this.
R=yangguo@chromium.org
Review-Url: https://codereview.chromium.org/2599683002
Cr-Commit-Position: refs/heads/master@{#41909}
Committed: https://chromium.googlesource.com/v8/v8/+/05f5ebce2f34753d0fb32fd2f3b6e652c8682e09
Patch Set 1 #
Created: 4 years ago
Dependent Patchsets: Messages
Total messages: 10 (6 generated)
|