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

Issue 2007113004: [wasm] Delay throwing an error until the sequential phase of the compilation. (Closed)

Created:
4 years, 7 months ago by ahaas
Modified:
4 years, 7 months ago
Reviewers:
titzer, bradnelson
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Delay throwing an error until the sequential phase of the compilation. Signalling an error to the ErrorThrower causes a heap allocation and should therefore not happen in the parallel phase of the compilation. Additionally I did some refactoring: I pulled the function BuildGraphForWasmFunction into the WasmCompilationUnit and as a consequence I can use the class fields directly instead of passing them as parameters. BUG=chromium::614291 LOG=N R=titzer@chromium.org, bradnelson@chromium.org Committed: https://crrev.com/a51d0585e225966a36a58a45894fcb237215b2b1 Cr-Commit-Position: refs/heads/master@{#36515}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -43 lines) Patch
M src/compiler/wasm-compiler.h View 4 chunks +7 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 4 chunks +42 lines, -40 lines 2 comments Download
M src/wasm/wasm-module.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
ahaas
4 years, 7 months ago (2016-05-25 10:04:34 UTC) #1
bradnelson
https://codereview.chromium.org/2007113004/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2007113004/diff/1/src/compiler/wasm-compiler.cc#newcode3264 src/compiler/wasm-compiler.cc:3264: ScopedVector<char> buffer(128); How do we know this is enough?
4 years, 7 months ago (2016-05-25 10:50:12 UTC) #2
bradnelson
lgtm https://codereview.chromium.org/2007113004/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2007113004/diff/1/src/compiler/wasm-compiler.cc#newcode3264 src/compiler/wasm-compiler.cc:3264: ScopedVector<char> buffer(128); On 2016/05/25 10:50:12, bradnelson wrote: > ...
4 years, 7 months ago (2016-05-25 11:18:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007113004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007113004/1
4 years, 7 months ago (2016-05-25 11:19:03 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/15973)
4 years, 7 months ago (2016-05-25 11:22:14 UTC) #7
titzer
On 2016/05/25 11:22:14, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-25 12:53:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007113004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2007113004/1
4 years, 7 months ago (2016-05-25 12:54:20 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-25 12:56:05 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 12:56:18 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a51d0585e225966a36a58a45894fcb237215b2b1
Cr-Commit-Position: refs/heads/master@{#36515}

Powered by Google App Engine
This is Rietveld 408576698