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

Issue 2512833003: [wasm] Translate locations to positions properly (Closed)

Created:
4 years, 1 month ago by Clemens Hammacher
Modified:
4 years, 1 month ago
Reviewers:
titzer, jgruber
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Translate locations to positions properly ... at least for the function which will remain after restructuring of the debug interface. For some methods that will be removed anyway, we just return zero / null for now. I also refactored the ScriptLocationFromLine method to make it more readable and reuse parts in other files (like ScriptLinePosition). BUG=5655 R=titzer@chromium.org, jgruber@chromium.org Committed: https://crrev.com/8ab945f2e087f8686bd3a2ef40c9201120b2d4ef Cr-Commit-Position: refs/heads/master@{#41115}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -59 lines) Patch
M src/objects.cc View 2 chunks +11 lines, -9 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 6 chunks +62 lines, -50 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Clemens Hammacher
I would actually propose to make the ScriptLinePosition function a method on the Script. Jakob, ...
4 years, 1 month ago (2016-11-18 13:01:26 UTC) #3
jgruber
Nice, lgtm with nit. https://codereview.chromium.org/2512833003/diff/1/src/runtime/runtime-debug.cc File src/runtime/runtime-debug.cc (right): https://codereview.chromium.org/2512833003/diff/1/src/runtime/runtime-debug.cc#newcode1625 src/runtime/runtime-debug.cc:1625: if (line > line_count) return ...
4 years, 1 month ago (2016-11-18 13:57:35 UTC) #6
Clemens Hammacher
4 years, 1 month ago (2016-11-18 14:10:29 UTC) #9
Clemens Hammacher
https://codereview.chromium.org/2512833003/diff/1/src/runtime/runtime-debug.cc File src/runtime/runtime-debug.cc (right): https://codereview.chromium.org/2512833003/diff/1/src/runtime/runtime-debug.cc#newcode1625 src/runtime/runtime-debug.cc:1625: if (line > line_count) return -1; On 2016/11/18 at ...
4 years, 1 month ago (2016-11-18 14:14:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512833003/20001
4 years, 1 month ago (2016-11-18 14:29:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/28901)
4 years, 1 month ago (2016-11-18 14:32:49 UTC) #17
Clemens Hammacher
On 2016/11/18 at 14:32:49, commit-bot wrote: > Try jobs failed on following builders: > v8_presubmit ...
4 years, 1 month ago (2016-11-18 14:40:14 UTC) #18
titzer
On 2016/11/18 14:40:14, Clemens Hammacher wrote: > On 2016/11/18 at 14:32:49, commit-bot wrote: > > ...
4 years, 1 month ago (2016-11-18 14:44:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512833003/20001
4 years, 1 month ago (2016-11-18 15:02:15 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-18 15:04:37 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 15:05:05 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8ab945f2e087f8686bd3a2ef40c9201120b2d4ef
Cr-Commit-Position: refs/heads/master@{#41115}

Powered by Google App Engine
This is Rietveld 408576698