Commit 006041e8 authored by ahaas's avatar ahaas Committed by Commit bot

[wasm] Add the 0x prefix to all constants in PrintAstForDebugging

R=titzer@chromium.org

Review-Url: https://codereview.chromium.org/2502373002
Cr-Commit-Position: refs/heads/master@{#41048}
parent 7e4e34bb
......@@ -1967,7 +1967,7 @@ bool PrintAst(AccountingAllocator* allocator, const FunctionBody& body,
os << "k" << WasmOpcodes::OpcodeName(opcode) << ",";
for (size_t j = 1; j < length; ++j) {
os << " " << AsHex(i.pc()[j], 2) << ",";
os << " 0x" << AsHex(i.pc()[j], 2) << ",";
}
switch (opcode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment