|
Refactor script position calculation
Script position calculation logic (i.e. line & column numbers for a
given code position) is now based on a single method
Script::GetPositionInfo(). Refactored related code in isolate.cc and
js/messages.js to use the new method. The line_ends accessor is still
in use by chromium and thus cannot be removed yet.
R=yangguo@chromium.org
BUG=
Committed: https://crrev.com/94ad3b1826fdd08866213220e9ef24d981ed0399
Cr-Commit-Position: refs/heads/master@{#36458}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+360 lines, -219 lines) |
Patch |
|
M |
src/debug/mirrors.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap-symbols.h
|
View
|
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
|
1 chunk |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/js/messages.js
|
View
|
|
9 chunks |
+19 lines, -122 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
2 chunks |
+27 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+78 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-debug.cc
|
View
|
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-debug.cc
|
View
|
|
1 chunk |
+38 lines, -43 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|