Skip to content

Commit c752a74

Browse files
authored
Remove some unused constants. NFC (#5072)
TABLE_BASE usage was removed in #3211. MEMORY_BASE usage was removed in #3089. NEW_SIZE usage was removed in #3180.
1 parent fc73db1 commit c752a74

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/shared-constants.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121

2222
namespace wasm {
2323

24-
extern Name MEMORY_BASE;
25-
extern Name TABLE_BASE;
2624
extern Name STACK_POINTER;
27-
extern Name NEW_SIZE;
2825
extern Name MODULE;
2926
extern Name START;
3027
extern Name FUNC;

src/wasm/wasm.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ const char* MultiMemoriesFeature = "multi-memories";
5454
} // namespace UserSections
5555
} // namespace BinaryConsts
5656

57-
Name MEMORY_BASE("__memory_base");
58-
Name TABLE_BASE("__table_base");
5957
Name STACK_POINTER("__stack_pointer");
60-
Name NEW_SIZE("newSize");
6158
Name MODULE("module");
6259
Name START("start");
6360
Name GLOBAL("global");

0 commit comments

Comments
 (0)