DescriptionHandle exceptions thrown while parsing lazy functions for inlining.
We currently leave the exception as pending without returning a Failure::Exception() value. This is either caught immediately if running with --debug-code, or caught later by an assert in debug mode.
This change makes the pending exception be cleared before returning from the failed optimization attempt.
BUG=v8::1145
TEST=test/mjsunit/regress/regress-1145.js
Committed: http://code.google.com/p/v8/source/detail?r=6832
Patch Set 1 #Patch Set 2 : Unmark function for lazy recompilation if it fails. #
Total comments: 5
Patch Set 3 : Changing set_code to ReplaceCode. #
Messages
Total messages: 3 (0 generated)
|