Introducing a new StrNDup function that uses new[] for when we dispose the result...
authorolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 Mar 2009 12:27:37 +0000 (12:27 +0000)
committerolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 18 Mar 2009 12:27:37 +0000 (12:27 +0000)
commit427ba8ec40c283e09b966ae066197a83a68a53fd
treeab72967db285858f7b2e064321ed4d49bcf39243
parentc2e2d59ed947d03b2606cfa69006ae057d9be846
Introducing a new StrNDup function that uses new[] for when we dispose the result using delete[].
Review URL: http://codereview.chromium.org/48127

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/allocation.cc
src/allocation.h
src/d8-readline.cc