Description[csa] SubString should enforce Stringness of first parameter.
The CodeStubAssembler::SubString method should not try to be defensive
about non-string inputs, but really enforce String receiver. Passing
a non-String input will result in crash in the %SubString runtime
function anyway.
R=jgruber@chromium.org
Review-Url: https://codereview.chromium.org/2700103002
Cr-Commit-Position: refs/heads/master@{#43267}
Committed: https://chromium.googlesource.com/v8/v8/+/4a7436101da9ab09ff5b543f64839e05feb365d0
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|