From 3bec4d28b1f388dbc06a9c4276e1a03e86c52b04 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 22 Jul 2010 14:51:16 +0100 Subject: Update V8 to r5091 as required by WebKit r63859. Change-Id: I8e35d765e6f6c7f89eccff900e1cabe2d5dd6110 --- src/frames.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/frames.cc') diff --git a/src/frames.cc b/src/frames.cc index 67a20d3c..bdd5100e 100644 --- a/src/frames.cc +++ b/src/frames.cc @@ -532,8 +532,11 @@ void JavaScriptFrame::Print(StringStream* accumulator, if (IsConstructor()) accumulator->Add("new "); accumulator->PrintFunction(function, receiver, &code); + Handle scope_info(SerializedScopeInfo::Empty()); + if (function->IsJSFunction()) { Handle shared(JSFunction::cast(function)->shared()); + scope_info = Handle(shared->scope_info()); Object* script_obj = shared->script(); if (script_obj->IsScript()) { Handle