Apply V8 r5951 to fix Mac build
authorRyan Dahl <ry@tinyclouds.org>
Fri, 10 Dec 2010 19:21:47 +0000 (11:21 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 16 Dec 2010 20:10:54 +0000 (12:10 -0800)
commitc6406f9e5775deb5d76baac572a3050a358beb17
tree90c5b40124db9c82fe28e4a98e68af2b03ce4048
parentea700a8851023a1967083f22daa40f4c7a4366bf
Apply V8 r5951 to fix Mac build

From f3973972b727df480697443871d780596aba0201 Mon Sep 17 00:00:00 2001
From: erik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Date: Wed, 8 Dec 2010 16:23:25 +0000
Subject: [PATCH] Speed up quoting of JSON strings by allocating a string that is big enough
 and then trimming it when the length is known.  This way we only have to
 traverse the input once.
 Review URL: http://codereview.chromium.org/5556012
deps/v8/src/runtime.cc
deps/v8/src/spaces-inl.h
deps/v8/src/spaces.h