Skip to content

Commit 27e61f8

Browse files
committed
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
1 parent 0d64c96 commit 27e61f8

42 files changed

Lines changed: 5055 additions & 3459 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cli/asc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ exports.main = function main(argv, options, callback) {
384384
assemblyscript.setTarget(compilerOptions, 0);
385385
assemblyscript.setNoTreeShaking(compilerOptions, !!args.noTreeShaking);
386386
assemblyscript.setNoAssert(compilerOptions, !!args.noAssert);
387-
assemblyscript.setNoMemory(compilerOptions, !!args.noMemory);
388387
assemblyscript.setImportMemory(compilerOptions, !!args.importMemory);
389388
assemblyscript.setImportTable(compilerOptions, !!args.importTable);
390389
assemblyscript.setMemoryBase(compilerOptions, args.memoryBase >>> 0);

cli/asc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@
9595
"description": "Performs compilation as usual but does not emit code.",
9696
"type": "boolean"
9797
},
98-
"noMemory": {
99-
"description": "Does not set up a memory. Useful for low-level WebAssembly.",
100-
"type": "boolean"
101-
},
10298
"importMemory": {
10399
"description": "Imports the memory instance provided by the embedder.",
104100
"type": "boolean"

dist/asc.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/asc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assemblyscript.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assemblyscript.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
16 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)