v8/src/ia32
ulan@chromium.org b9e0b87a5a Clear optimized code cache in shared function info when code gets deoptimized.
This adds a pointer to the shared function info into deoptimization data of an optimized code. Whenever the code is deoptimized, it clears the cache in the shared function info.

This fixes the problem when the optimized function dies in new space GC before the code is deoptimized due to code dependency and before the optimized code cache is cleared in old space GC (see mjsunit/regress/regress-343609.js).

This partially reverts r19603 because we need to be able to evict specific code from the optimized code cache.

BUG=343609
LOG=Y
TEST=mjsunit/regress/regress-343609.js
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/184923002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-03-03 11:11:39 +00:00
..
assembler-ia32-inl.h Make snapshots reproducible. 2013-11-05 10:14:48 +00:00
assembler-ia32.cc Harmony: optimize Math.clz32. 2014-02-19 13:51:49 +00:00
assembler-ia32.h Harmony: optimize Math.clz32. 2014-02-19 13:51:49 +00:00
builtins-ia32.cc This is a preview of a first step towards unification of the hydrogen 2014-01-15 17:00:35 +00:00
code-stubs-ia32.cc The Array function must be looked up in the native context. 2014-02-28 10:39:36 +00:00
code-stubs-ia32.h Get rid of the unused native code StringAddStub. 2014-01-22 13:48:05 +00:00
codegen-ia32.cc Use std:: on symbols declared in C++-style C headers. 2014-01-14 09:57:05 +00:00
codegen-ia32.h Cleanup: Unify CodeGenerator class across platforms 2014-02-04 13:53:41 +00:00
cpu-ia32.cc Get rid of duplicated CPU::DebugBreak() method. 2013-08-23 11:43:30 +00:00
debug-ia32.cc Adding a type vector to replace type cells. 2014-02-10 21:38:17 +00:00
deoptimizer-ia32.cc Clear optimized code cache in shared function info when code gets deoptimized. 2014-03-03 11:11:39 +00:00
disasm-ia32.cc Harmony: optimize Math.clz32. 2014-02-19 13:51:49 +00:00
frames-ia32.cc Fix some out-of-line constant pool garbage collection bugs. 2014-01-07 15:53:54 +00:00
frames-ia32.h Fix some out-of-line constant pool garbage collection bugs. 2014-01-07 15:53:54 +00:00
full-codegen-ia32.cc Fix assignment of function name constant. 2014-02-14 12:40:47 +00:00
ic-ia32.cc Remove HandlerKindField and just encode the handlerkind as the only extra-ic-state. 2014-02-14 15:17:26 +00:00
lithium-codegen-ia32.cc Clear optimized code cache in shared function info when code gets deoptimized. 2014-03-03 11:11:39 +00:00
lithium-codegen-ia32.h Remove CALL_AS_FUNCTION and CALL_AS_METHOD. 2014-01-14 14:36:24 +00:00
lithium-gap-resolver-ia32.cc Introduce orps for IA32/X64 2013-11-05 12:04:46 +00:00
lithium-gap-resolver-ia32.h Reland "Use V8_FINAL and V8_OVERRIDE in various places, fixing bugs revealed by them.". 2013-08-20 11:10:24 +00:00
lithium-ia32.cc Harmony: optimize Math.clz32. 2014-02-19 13:51:49 +00:00
lithium-ia32.h Harmony: optimize Math.clz32. 2014-02-19 13:51:49 +00:00
macro-assembler-ia32.cc The Array function must be looked up in the native context. 2014-02-28 10:39:36 +00:00
macro-assembler-ia32.h The Array function must be looked up in the native context. 2014-02-28 10:39:36 +00:00
regexp-macro-assembler-ia32.cc Revert "Fix inconsistencies wrt whitespaces." 2014-02-07 14:13:00 +00:00
regexp-macro-assembler-ia32.h RegExp macro assembler clean up. 2013-06-06 10:17:07 +00:00
simulator-ia32.cc Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
simulator-ia32.h Implement loop for global regexps in regexp assembler. 2012-05-22 14:05:44 +00:00
stub-cache-ia32.cc Do not emit receiver map in CheckPrototypes. 2014-02-19 09:24:44 +00:00