Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index d9fa860e0a46cff415cf901e0955ec31f8e66a3d..34ba2995f9b8f3ffb1102ee4eb2b88ca9635b697 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -669,39 +669,6 @@ Handle<JSArrayBuffer> wasm::NewArrayBuffer(Isolate* isolate, size_t size, |
enable_guard_regions); |
} |
-const char* wasm::SectionName(WasmSectionCode code) { |
- switch (code) { |
- case kUnknownSectionCode: |
- return "Unknown"; |
- case kTypeSectionCode: |
- return "Type"; |
- case kImportSectionCode: |
- return "Import"; |
- case kFunctionSectionCode: |
- return "Function"; |
- case kTableSectionCode: |
- return "Table"; |
- case kMemorySectionCode: |
- return "Memory"; |
- case kGlobalSectionCode: |
- return "Global"; |
- case kExportSectionCode: |
- return "Export"; |
- case kStartSectionCode: |
- return "Start"; |
- case kCodeSectionCode: |
- return "Code"; |
- case kElementSectionCode: |
- return "Element"; |
- case kDataSectionCode: |
- return "Data"; |
- case kNameSectionCode: |
- return "Name"; |
- default: |
- return "<unknown>"; |
- } |
-} |
- |
std::ostream& wasm::operator<<(std::ostream& os, const WasmModule& module) { |
os << "WASM module with "; |
os << (module.min_mem_pages * module.kPageSize) << " min mem"; |