From: yangguo@chromium.org Date: Thu, 20 Dec 2012 16:25:26 +0000 (+0000) Subject: Fix several bugs in error stack trace formatting. X-Git-Tag: upstream/4.7.83~15397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3f16f8e65084be915cd6e26325bbef7a07583e8;p=platform%2Fupstream%2Fv8.git Fix several bugs in error stack trace formatting. GetScriptWrapper can be called recursively: GetScriptWrapper -> GC -> DeferredFormatStackTrace -> GetScriptWrapper GC-unsafe code in ErrorObjectList::DeferredFormatStackTrace Enable overwriting Error.prepareStackTrace by itself while not causing infinity recursion when it triggers an exception. R=ulan@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11649037 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13256 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/handles.cc b/src/handles.cc index 3bc1f4bea..855997ec3 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -375,6 +375,15 @@ Handle GetScriptWrapper(Handle