Reviewers: Mads Ager, Kasper Lund, Description: Fix a crash caused by garbage collection during generation of a callback load (or keyed load) IC.
The problem was that the IC code calls a stub, which can allocate and thus trigger a GC if the stub is not already generated. Problem is solved by adding the ability to "try" to call a stub, trying to generate the stub code if necessary but signaling an allocation failure if generating the code is not possible. Please review this at http://codereview.chromium.org/472002 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/code-stubs.h M src/code-stubs.cc M src/ia32/macro-assembler-ia32.h M src/ia32/macro-assembler-ia32.cc M src/ia32/stub-cache-ia32.cc M src/stub-cache.h M src/stub-cache.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
