@@ -249,6 +249,7 @@ declare module "assemblyscript/src/diagnosticMessages.generated" {
249249 _0_is_not_a_valid_operator = 224 ,
250250 Expression_cannot_be_represented_by_a_type = 225 ,
251251 Expression_resolves_to_unusual_type_0 = 226 ,
252+ Array_literal_expected = 227 ,
252253 Type_0_is_cyclic_Module_will_include_deferred_garbage_collection = 900 ,
253254 Importing_the_table_disables_some_indirect_call_optimizations = 901 ,
254255 Exporting_the_table_disables_some_indirect_call_optimizations = 902 ,
@@ -4289,6 +4290,8 @@ declare module "assemblyscript/src/compiler" {
42894290 addMemorySegment ( buffer : Uint8Array , alignment ?: number ) : MemorySegment ;
42904291 /** Ensures that a string exists in static memory and returns a pointer to it. Deduplicates. */
42914292 ensureStaticString ( stringValue : string ) : ExpressionRef ;
4293+ /** Writes a series of static values of the specified type to a buffer. */
4294+ writeStaticBuffer ( buf : Uint8Array , pos : number , elementType : Type , values : ExpressionRef [ ] ) : number ;
42924295 /** Adds a buffer to static memory and returns the created segment. */
42934296 addStaticBuffer ( elementType : Type , values : ExpressionRef [ ] , id ?: number ) : MemorySegment ;
42944297 /** Adds an array header to static memory and returns the created segment. */
@@ -5028,6 +5031,7 @@ declare module "assemblyscript/src/builtins" {
50285031 const memory_grow = "~lib/memory/memory.grow" ;
50295032 const memory_copy = "~lib/memory/memory.copy" ;
50305033 const memory_fill = "~lib/memory/memory.fill" ;
5034+ const memory_data = "~lib/memory/memory.data" ;
50315035 const Int8Array = "~lib/typedarray/Int8Array" ;
50325036 const Uint8Array = "~lib/typedarray/Uint8Array" ;
50335037 const Uint8ClampedArray = "~lib/typedarray/Uint8ClampedArray" ;
0 commit comments