Reviewers: , Description: Fix debug build
Missed out on reflecting changes to Script object layout in objects-debug.cc. Also fixed http://codereview.chromium.org/450034/diff/2006/2010. Please review this at http://codereview.chromium.org/456021 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/compiler.cc M src/objects-debug.cc Index: src/compiler.cc =================================================================== --- src/compiler.cc (revision 3393) +++ src/compiler.cc (working copy) @@ -179,7 +179,6 @@ // called. if (is_eval) { JavaScriptFrameIterator it; - if (it.frame()->function()->IsJSFunction()) script->set_eval_from_shared( JSFunction::cast(it.frame()->function())->shared()); int offset = static_cast<int>( Index: src/objects-debug.cc =================================================================== --- src/objects-debug.cc (revision 3393) +++ src/objects-debug.cc (working copy) @@ -1145,12 +1145,10 @@ compilation_type()->ShortPrint(); PrintF("\n - line ends: "); line_ends()->ShortPrint(); - PrintF("\n - eval from script: "); - eval_from_script()->ShortPrint(); - PrintF("\n - eval from script position: "); - eval_from_script_position()->ShortPrint(); - PrintF("\n - eval from function name: "); - eval_from_function_name()->ShortPrint(); + PrintF("\n - eval from shared: "); + eval_from_shared()->ShortPrint(); + PrintF("\n - eval from instructions offset: "); + eval_from_instructions_offset()->ShortPrint(); PrintF("\n"); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
