Reviewers: danno, Description: Fix assert in function sorter.
Please review this at https://chromiumcodereview.appspot.com/10364002/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/objects-inl.h Index: src/objects-inl.h =================================================================== --- src/objects-inl.h (revision 11473) +++ src/objects-inl.h (working copy) @@ -3080,6 +3080,7 @@ int Code::profiler_ticks() { + if (kind() == OPTIMIZED_FUNCTION) return 0; ASSERT_EQ(FUNCTION, kind()); return READ_BYTE_FIELD(this, kProfilerTicksOffset); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
