From 1e80630b009ecd5e63206353292fd63197ac9bdd Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 14 Jan 2016 16:14:56 -0800 Subject: comments --- src/wasm-binary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index d0bd0a818..233722aa5 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -470,7 +470,7 @@ public: } if (function) { size_t sizePos = o.size(); - o << (uint16_t)0; // placeholder + o << (uint16_t)0; // placeholder, we fill in the size later when we have it size_t start = o.size(); depth = 0; recurse(function->body); @@ -530,7 +530,7 @@ public: void emitBuffer(const char* data, size_t size) { assert(size > 0); buffersToWrite.emplace_back(data, size, o.size()); - o << uint32_t(0); // placeholder + o << uint32_t(0); // placeholder, we'll fill in the pointer to the buffer later when we have it } void emitString(const char *str) { -- cgit v1.2.3