NFC: use array init instead of memset

Dropped the change from my previous CL which bisecting Windows failure.

R= titzer@chromium.org

Review URL: https://codereview.chromium.org/1760243002

Cr-Commit-Position: refs/heads/master@{#34512}
This commit is contained in:
jfb 2016-03-04 16:01:20 -08:00 committed by Commit bot
parent bcfa400306
commit cf11b8b337

View File

@ -51,8 +51,7 @@ class ModuleDecoder : public Decoder {
module->mem_external = false;
module->origin = origin_;
bool sections[kMaxModuleSectionCode];
memset(sections, 0, sizeof(sections));
bool sections[kMaxModuleSectionCode] = {false};
const byte* pos = pc_;
uint32_t magic_word = consume_u32("wasm magic");