[wasm] Remove redundant output in decoder
The section name is printed two times currently: Once in {WasmSectionIterator::next()}, once in {ModuleDecoderImpl::DecodeSection}. This is confusing when looking at the trace output, hence remove one of the outputs. R=ahaas@chromium.org Change-Id: Icc699d5eb0e39325d2849ea6c345b9522985003b Reviewed-on: https://chromium-review.googlesource.com/756703 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#49175}
This commit is contained in:
parent
abad3092a3
commit
b2c319a2bc
@ -228,7 +228,6 @@ class WasmSectionIterator {
|
||||
section_code_ = decoder_.failed() ? kUnknownSectionCode
|
||||
: static_cast<SectionCode>(section_code);
|
||||
|
||||
TRACE("Section: %s\n", SectionName(section_code_));
|
||||
if (section_code_ == kUnknownSectionCode && section_end_ > decoder_.pc()) {
|
||||
// skip to the end of the unknown section.
|
||||
uint32_t remaining = static_cast<uint32_t>(section_end_ - decoder_.pc());
|
||||
|
Loading…
Reference in New Issue
Block a user