mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 17:31:29 +00:00
Reintroduce builtin decorator so these can appear anywhere in stdlib again
Avoids wrapping an undocumented function within 'memory.size' for example.
This commit is contained in:
@ -58,24 +58,22 @@ export enum CommonFlags {
|
||||
|
||||
// Compilation states
|
||||
|
||||
/** Is a builtin. */
|
||||
BUILTIN = 1 << 21,
|
||||
/** Is compiled. */
|
||||
COMPILED = 1 << 22,
|
||||
COMPILED = 1 << 21,
|
||||
/** Has a constant value and is therefore inlined. */
|
||||
INLINED = 1 << 23,
|
||||
INLINED = 1 << 22,
|
||||
/** Is scoped. */
|
||||
SCOPED = 1 << 24,
|
||||
SCOPED = 1 << 23,
|
||||
/** Is a trampoline. */
|
||||
TRAMPOLINE = 1 << 25,
|
||||
TRAMPOLINE = 1 << 24,
|
||||
/** Is a virtual method. */
|
||||
VIRTUAL = 1 << 26,
|
||||
VIRTUAL = 1 << 25,
|
||||
/** Is the main function. */
|
||||
MAIN = 1 << 27,
|
||||
MAIN = 1 << 26,
|
||||
|
||||
// Other
|
||||
|
||||
QUOTED = 1 << 28
|
||||
QUOTED = 1 << 27
|
||||
}
|
||||
|
||||
/** Path delimiter inserted between file system levels. */
|
||||
|
Reference in New Issue
Block a user