Fix assertion failure caused by external strings.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 12:08:17 +0000 (12:08 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Mar 2014 12:08:17 +0000 (12:08 +0000)
commitb2134319e00fdfb521758728de3e3a0a824850a2
treefcdc0dbb078a2ab90a016ef2d9eaccc87e0777f3
parent710ee827b55c5b19418d296417f043037e3c687a
Fix assertion failure caused by external strings.

This fixes two issues:
- Update externalize-string-extension to the behavior of the API (see r18285)
- Convert cons strings in old pointer space to short external strings as
  expected by Heap::AllowedToBeMigrated, regardless of alignment.

R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/extensions/externalize-string-extension.cc
src/objects.cc