Reland "Throw exception on invalid string length instead of OOM."
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 20 Mar 2014 12:27:36 +0000 (12:27 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 20 Mar 2014 12:27:36 +0000 (12:27 +0000)
commit000be4d033e97da05de3da1a88bc2d720f8d7e10
tree968e1cd275ade892e7b6b6a19951ba89f7a8334f
parent0f71f617998dacd8c2ed8e7fa98c3e8ece4090d8
Reland "Throw exception on invalid string length instead of OOM."

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/199583007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
19 files changed:
src/api.cc
src/factory.cc
src/func-name-inferrer.cc
src/isolate.cc
src/isolate.h
src/json-stringifier.h
src/parser.cc
src/runtime.cc
src/uri.h
test/cctest/test-strings.cc
test/mjsunit/mjsunit.status
test/mjsunit/string-oom-array-join.js [new file with mode: 0644]
test/mjsunit/string-oom-concat.js [new file with mode: 0644]
test/mjsunit/string-oom-replace-global-regexp-with-string.js [new file with mode: 0644]
test/mjsunit/string-oom-replace-regexp-global-with-function.js [new file with mode: 0644]
test/mjsunit/string-oom-slow-escape.js [new file with mode: 0644]
test/mjsunit/string-oom-slow-json-stringify.js [new file with mode: 0644]
test/mjsunit/string-oom-slow-replace-one-with-string.js [new file with mode: 0644]
test/mjsunit/string-oom-slow-to-uppercase.js [new file with mode: 0644]