LGTM.We could also consider the same trick when we are recompiling the unoptimized
code to attach deoptimization info.
Maybe we could do something simple like inspect the CompilationInfo'sSharedFunctionInfo to see if it has code that's not the lazy compilation stub.
http://codereview.chromium.org/6706016/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
