Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 118425: Change locationFromPosition() and locationFromLine() to use a binary search t... (Closed)

Created:
11 years, 6 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
CC:
v8-dev, Matt Hanselman
Visibility:
Public.

Description

Change 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -33 lines) Patch
M src/messages.js View 3 chunks +41 lines, -22 lines 0 comments Download
M test/mjsunit/debug-sourceinfo.js View 7 chunks +81 lines, -11 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Søren Thygesen Gjesse
11 years, 6 months ago (2009-06-09 07:02:38 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698