[heap] Cleanup string factory methods a bit.
authormstarzinger <mstarzinger@chromium.org>
Tue, 29 Sep 2015 08:08:14 +0000 (01:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 29 Sep 2015 08:08:30 +0000 (08:08 +0000)
commit3bb0174330c7eca4ebb80670652249b1aaa0e2b3
tree64941749231cc767d89ea812f40c9fbe2b633fd1
parent0a844bc0dc688097e0d895f21f0f70cb249290a7
[heap] Cleanup string factory methods a bit.

This is mostly removing dead code and also dropping MUST_USE_RESULT
annotations from methods that cannot throw an exception anyways.

R=hpayer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30995}
src/factory.cc
src/factory.h
src/runtime/runtime-strings.cc
src/runtime/runtime.h
test/cctest/compiler/test-run-intrinsics.cc