Handle argument conversion in StringAddStub.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Sep 2010 12:10:44 +0000 (12:10 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Sep 2010 12:10:44 +0000 (12:10 +0000)
commit62f7cd8500db17d3fa2bf8b5f6396864d1bc6760
tree9918d38b7ed83ff5fc999b9a772a17b55caa5775
parentbb7825051b86505451a1ba53112f3a9c8b3b3843
Handle argument conversion in StringAddStub.

In case one of the arguments is known to be a string we emit a few
fast conversion attempts for the other.  This allows using the
StringAddStub instead of STRING_ADD_{LEFT,RIGHT} builtins.

Review URL: http://codereview.chromium.org/3338007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5405 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/code-stubs-ia32.cc
src/ia32/code-stubs-ia32.h
src/ia32/codegen-ia32.cc
test/mjsunit/binary-op-newspace.js