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>
Fri, 10 Dec 2010 19:22:12 +0000 (11:22 -0800)
commit32e8692b0686e55954c9c5d30dde6db07b35cd01
treec434ecf6521fe36e9c8054d773db284f67912259
parent5138992f3c275a1bab1593c7468c08f1f24e96bb
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