Revision: 3394 Author: [email protected] Date: Tue Dec 1 07:52:02 2009 Log: 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. [email protected] Review URL: http://codereview.chromium.org/456021 http://code.google.com/p/v8/source/detail?r=3394 Modified: /branches/bleeding_edge/src/compiler.cc /branches/bleeding_edge/src/objects-debug.cc ======================================= --- /branches/bleeding_edge/src/compiler.cc Tue Dec 1 06:36:45 2009 +++ /branches/bleeding_edge/src/compiler.cc Tue Dec 1 07:52:02 2009 @@ -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>( ======================================= --- /branches/bleeding_edge/src/objects-debug.cc Tue Dec 1 06:36:45 2009 +++ /branches/bleeding_edge/src/objects-debug.cc Tue Dec 1 07:52:02 2009 @@ -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
