mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 11:41:45 +00:00
Rework resolver (#489)
* Rework IR and resolver to use nested lookup tables * Integrate types into IR * Make components prefer IR, slimmed down AST * Implement `export *` * Add `@lazy` annotation and remove `--noTreeShaking` * Add `@start` annotation and remove magic `main` * Related refactoring, cleanup and docs
This commit is contained in:
2
std/portable/index.d.ts
vendored
2
std/portable/index.d.ts
vendored
@ -32,8 +32,6 @@ declare type f64 = number;
|
||||
|
||||
/** Compiler target. 0 = JS, 1 = WASM32, 2 = WASM64. */
|
||||
declare const ASC_TARGET: i32;
|
||||
/** Provided noTreeshaking option. */
|
||||
declare const ASC_NO_TREESHAKING: bool;
|
||||
/** Provided noAssert option. */
|
||||
declare const ASC_NO_ASSERT: bool;
|
||||
/** Provided memoryBase option. */
|
||||
|
@ -3,7 +3,6 @@
|
||||
var globalScope = typeof window !== "undefined" && window || typeof global !== "undefined" && global || self;
|
||||
|
||||
globalScope.ASC_TARGET = 0; // JS
|
||||
globalScope.ASC_NO_TREESHAKING = false;
|
||||
globalScope.ASC_NO_ASSERT = false;
|
||||
globalScope.ASC_MEMORY_BASE = 0;
|
||||
globalScope.ASC_OPTIMIZE_LEVEL = 3;
|
||||
|
Reference in New Issue
Block a user