DescriptionHandled return-value of SetElement in some cases, or avoided it in other.
SetElement can cause an exception to be thrown. If its return value
isn't checked, this exception might not be handled at the correct time.
In some cases, it's a matter of returning Exception::Failure() from
a runtime function.
In other cases, code using SetElement on a JSArray has been changed
to setting directly on a FixedArray and only creating the JSArray
at the end.
Committed: http://code.google.com/p/v8/source/detail?r=7039
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed one more case in parser.cc #Patch Set 3 : Addressed review comments. Fixed some GetElements. #
Messages
Total messages: 5 (0 generated)
|