This repository has been archived by the owner on Mar 25, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm] Fix wasm decoder tracing for prefix opcodes.
Using --trace-wasm-decoder prints unknowns for prefix opcodes, example: @3 #1:Block | env = 0x5547c10, state = R, reason = block:start, control = #0:Start @4 v8#14:GetLocal | i@4:GetLocal[0] @6 #e5:Unknown | s@6:Unknown @8 v8#15:SetLocal | s@8:SetLocal[1] @10 v8#14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] @12 v8#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 #1:Block | env = 0x45cac10, state = R, reason = block:start, control = #0:Start @4 v8#14:GetLocal | i@4:GetLocal[0] @6 #e5 #1b:I32x4Splat | s@6:I32x4Splat @8 v8#15:SetLocal | s@8:SetLocal[1] @10 v8#14:GetLocal | s@8:SetLocal[1] i@10:GetLocal[0] @12 v8#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 [email protected], [email protected] Review-Url: https://codereview.chromium.org/2307733002 Cr-Commit-Position: refs/heads/master@{#39142}
- Loading branch information