@@ -1086,6 +1086,8 @@ export class Program extends DiagnosticEmitter {
10861086 i64_new ( options . hasFeature ( Feature . ExtendedConst ) ? 1 : 0 , 0 ) ) ;
10871087 this . registerConstantInteger ( CommonNames . ASC_FEATURE_STRINGREF , Type . bool ,
10881088 i64_new ( options . hasFeature ( Feature . Strings ) ? 1 : 0 , 0 ) ) ;
1089+ this . registerConstantInteger ( CommonNames . ASC_FEATURE_SHARED_EVERYTHING , Type . bool ,
1090+ i64_new ( options . hasFeature ( Feature . Strings ) ? 1 : 0 , 0 ) ) ;
10891091
10901092 // remember deferred elements
10911093 let queuedImports = new Array < QueuedImport > ( ) ;
@@ -1289,7 +1291,9 @@ export class Program extends DiagnosticEmitter {
12891291 this . registerWrapperClass ( Type . bool , CommonNames . Bool ) ;
12901292 this . registerWrapperClass ( Type . f32 , CommonNames . F32 ) ;
12911293 this . registerWrapperClass ( Type . f64 , CommonNames . F64 ) ;
1292- if ( options . hasFeature ( Feature . Simd ) ) this . registerWrapperClass ( Type . v128 , CommonNames . V128 ) ;
1294+ if ( options . hasFeature ( Feature . Simd ) ) {
1295+ this . registerWrapperClass ( Type . v128 , CommonNames . V128 ) ;
1296+ }
12931297 if ( options . hasFeature ( Feature . ReferenceTypes ) ) {
12941298 this . registerWrapperClass ( Type . func , CommonNames . RefFunc ) ;
12951299 this . registerWrapperClass ( Type . extern , CommonNames . RefExtern ) ;
0 commit comments