Reviewers: Toon Verwaest,

Description:
Fix FindSharedFunctionInfoInScript to not optimize.

This prevents a corner case in FindSharedFunctionInfoInScript that would cause
functions to be optimized because an intermittent GC would clear the flag
indicating whether breakpoints are present. Above method was also moved into the
Debug class because it is only used by the debugger.

[email protected]


Please review this at https://chromiumcodereview.appspot.com/10914065/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/compiler.cc
  M src/debug.h
  M src/debug.cc
  M src/runtime.h
  M src/runtime.cc
  M test/cctest/test-func-name-inference.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to