[asm.js] Remove unused --trace-wasm-encoder flag.
R=ahaas@chromium.org Change-Id: If0001d1b829540d76a3cef54a495322ca624d030 Reviewed-on: https://chromium-review.googlesource.com/507227 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#45373}
This commit is contained in:
parent
a28b940e89
commit
4bbe21671b
@ -545,7 +545,6 @@ DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages,
|
|||||||
"maximum memory size of a wasm instance")
|
"maximum memory size of a wasm instance")
|
||||||
DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize,
|
DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize,
|
||||||
"maximum table size of a wasm instance")
|
"maximum table size of a wasm instance")
|
||||||
DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code")
|
|
||||||
DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
|
DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
|
||||||
DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code")
|
DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code")
|
||||||
DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
|
DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
|
||||||
|
@ -18,15 +18,6 @@
|
|||||||
|
|
||||||
#include "src/v8memory.h"
|
#include "src/v8memory.h"
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
#define TRACE(...) \
|
|
||||||
do { \
|
|
||||||
if (FLAG_trace_wasm_encoder) PrintF(__VA_ARGS__); \
|
|
||||||
} while (false)
|
|
||||||
#else
|
|
||||||
#define TRACE(...)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace v8 {
|
namespace v8 {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
namespace wasm {
|
namespace wasm {
|
||||||
@ -320,7 +311,6 @@ uint32_t WasmModuleBuilder::AddGlobal(ValueType type, bool exported,
|
|||||||
|
|
||||||
void WasmModuleBuilder::WriteTo(ZoneBuffer& buffer) const {
|
void WasmModuleBuilder::WriteTo(ZoneBuffer& buffer) const {
|
||||||
// == Emit magic =============================================================
|
// == Emit magic =============================================================
|
||||||
TRACE("emit magic\n");
|
|
||||||
buffer.write_u32(kWasmMagic);
|
buffer.write_u32(kWasmMagic);
|
||||||
buffer.write_u32(kWasmVersion);
|
buffer.write_u32(kWasmVersion);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user