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

Issue 2307733002: [wasm] Fix wasm decoder tracing for prefix opcodes. (Closed)

Created:
4 years, 3 months ago by gdeepti
Modified:
4 years, 3 months ago
Reviewers:
bbudge, ahaas
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] Fix wasm decoder tracing for prefix opcodes. Using --trace-wasm-decoder prints unknowns for prefix opcodes, example: @3 #01:Block | env = 0x5547c10, state = R, reason = block:start, control = #0:Start @4 #14:GetLocal | i@4:GetLocal[0] @6 #e5:Unknown | s@6:Unknown @8 #15:SetLocal | s@8:SetLocal[1] @10 #14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] @12 #14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] s@12:GetLocal[1] @14 #cb:I8Const | s@8:SetLocal[1] i@10:GetLocal[0] s@12:GetLocal[1] i@14:I8Const @16 #e5:Unknown | s@8:SetLocal[1] i@10:GetLocal[0] i@16:Unknown Fixed to print: @3 #01:Block | env = 0x45cac10, state = R, reason = block:start, control = #0:Start @4 #14:GetLocal | i@4:GetLocal[0] @6 #e5 #1b:I32x4Splat | s@6:I32x4Splat @8 #15:SetLocal | s@8:SetLocal[1] @10 #14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] @12 #14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] s@12:GetLocal[1] @14 #cb:I8Const | s@8:SetLocal[1] i@10:GetLocal[0] s@12:GetLocal[1] i@14:I8Const @16 #e5 #1c:I32x4ExtractLane | s@8:SetLocal[1] i@10:GetLocal[0] i@16:I32x4ExtractLane R=ahaas@chromium.org, bbudge@chromium.org Committed: https://crrev.com/eed164b30421590af7359536dd2fc965c76b6b3c Cr-Commit-Position: refs/heads/master@{#39142}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
M src/wasm/ast-decoder.cc View 4 chunks +10 lines, -3 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-opcodes.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
gdeepti
4 years, 3 months ago (2016-09-02 06:12:19 UTC) #11
ahaas
lgtm, I wonder if this change could be tested in some meaningful way though.
4 years, 3 months ago (2016-09-02 12:10:21 UTC) #14
gdeepti
Not that I can think of, will take a look and follow up with a ...
4 years, 3 months ago (2016-09-02 17:49:04 UTC) #15
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/2307733002/20001
4 years, 3 months ago (2016-09-02 17:49:15 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-02 17:51:36 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/eed164b30421590af7359536dd2fc965c76b6b3c Cr-Commit-Position: refs/heads/master@{#39142}
4 years, 3 months ago (2016-09-02 17:52:26 UTC) #20
bbudge
4 years, 3 months ago (2016-09-02 18:08:49 UTC) #21
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698