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

Issue 2457433002: Fix detection of BUILTIN functions (Closed)

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

Description

Fix detection of BUILTIN functions In the asm.js to wasm pipeline, we generate an entry function with BUILTIN code, but still attached to a TYPE_NORMAL script. This fix avoids trying to set a breakpoint there, resulting in a crash on DCHECK(shared->HasDebugInfo()). Also add two inspector tests to track regressions. BUG=v8:5568 R=titzer@chromium.org,mstarzinger@chromium.org Committed: https://crrev.com/1cac34ed6b98ce756568009bd4082f17aadbb256 Cr-Commit-Position: refs/heads/master@{#40633}

Patch Set 1 #

Patch Set 2 : Add expected output #

Patch Set 3 : Fix expected output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -4 lines) Patch
M src/objects-inl.h View 1 chunk +3 lines, -3 lines 0 comments Download
A test/inspector/debugger/asm-js-breakpoint-before-exec.js View 1 chunk +128 lines, -0 lines 0 comments Download
A test/inspector/debugger/asm-js-breakpoint-before-exec-expected.txt View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
A test/inspector/debugger/asm-js-breakpoint-during-exec.js View 1 chunk +165 lines, -0 lines 0 comments Download
A test/inspector/debugger/asm-js-breakpoint-during-exec-expected.txt View 1 1 chunk +99 lines, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (17 generated)
Clemens Hammacher
4 years, 1 month ago (2016-10-26 16:45:28 UTC) #14
Michael Starzinger
I'm not familiar enough with the code. Delegating to Yang.
4 years, 1 month ago (2016-10-26 18:11:39 UTC) #16
titzer
On 2016/10/26 18:11:39, Michael Starzinger wrote: > I'm not familiar enough with the code. Delegating ...
4 years, 1 month ago (2016-10-26 18:17:21 UTC) #17
Clemens Hammacher
On 2016/10/26 18:17:21, titzer wrote: > On 2016/10/26 18:11:39, Michael Starzinger wrote: > > I'm ...
4 years, 1 month ago (2016-10-26 19:10:57 UTC) #18
Yang
LGTM.
4 years, 1 month ago (2016-10-28 05:08:29 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/2457433002/40001
4 years, 1 month ago (2016-10-28 05:56:10 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-28 06:48:05 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:16:09 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1cac34ed6b98ce756568009bd4082f17aadbb256
Cr-Commit-Position: refs/heads/master@{#40633}

Powered by Google App Engine
This is Rietveld 408576698