DescriptionChange locationFromPosition() and locationFromLine() to use a binary search to locate line numbers from position numbers. Modify test debug-sourceinfo.js to include more tests, including error conditions.
Patch by Matt Hanselman, see http://codereview.chromium.org/118371.
BUG=213
TEST=test/mjsunit/debug-sourceinfo.js
Committed: http://code.google.com/p/v8/source/detail?r=2125
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|