@specy/risc-v 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +911 -909
  2. package/dist/index.mjs +911 -909
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3320,8 +3320,8 @@ var asr_JsRiscV__clinit_ = () => {
3320
3320
  jnc_CodingErrorAction__clinit_();
3321
3321
  jnc_CoderResult__clinit_();
3322
3322
  jn_ByteOrder__clinit_();
3323
- asrjt_Float32__clinit_();
3324
3323
  asrjt_Float64__clinit_();
3324
+ asrjt_Float32__clinit_();
3325
3325
  jm_BigInteger__clinit_();
3326
3326
  asrjo_Arithmetic__clinit_();
3327
3327
  asrj_RoundingMode__clinit_();
@@ -7037,6 +7037,145 @@ var jl_System_currentTimeMillis = () => {
7037
7037
  return Long_fromNumber((/* @__PURE__ */ new Date()).getTime());
7038
7038
  };
7039
7039
  var jl_CloneNotSupportedException = $rt_classWithoutFields(jl_Exception);
7040
+ function asr_JsCompilationResult() {
7041
+ let a = this;
7042
+ jl_Object.call(a);
7043
+ a.$report = null;
7044
+ a.$errors1 = null;
7045
+ }
7046
+ var asr_JsCompilationResult__init_0 = ($this, var$1) => {
7047
+ let var$2, var$3, var$4;
7048
+ var$2 = asr_ErrorList_generateReport(var$1, 1);
7049
+ var$3 = asr_ErrorList_generateReport(var$1, 0);
7050
+ var$4 = new jl_StringBuilder();
7051
+ jl_AbstractStringBuilder__init_(var$4);
7052
+ jl_StringBuilder_append(jl_StringBuilder_append(var$4, var$2), var$3);
7053
+ $this.$report = jl_AbstractStringBuilder_toString(var$4);
7054
+ var$1 = ju_Collection_stream(var$1.$messages);
7055
+ var$4 = new asr_JsCompilationResult$_init_$lambda$_0_0();
7056
+ var$4.$_06 = $this;
7057
+ var$1 = jusi_SimpleStreamImpl_map(var$1, var$4);
7058
+ var$4 = new asr_JsCompilationResult$_init_$lambda$_0_2();
7059
+ var$1 = var$1;
7060
+ var$3 = ju_ArrayList__init_();
7061
+ var$2 = var$1;
7062
+ while (true) {
7063
+ var$1 = new jusi_SimpleStreamImpl$collect$lambda$_25_0();
7064
+ var$1.$_08 = var$4;
7065
+ var$1.$_12 = var$3;
7066
+ if (!jusi_WrappingStreamImpl_next(var$2, var$1))
7067
+ break;
7068
+ }
7069
+ $this.$errors1 = var$3;
7070
+ };
7071
+ var asr_JsCompilationResult__init_ = (var_0) => {
7072
+ let var_1 = new asr_JsCompilationResult();
7073
+ asr_JsCompilationResult__init_0(var_1, var_0);
7074
+ return var_1;
7075
+ };
7076
+ var asr_JsCompilationResult_getErrors$exported$0 = (var$1) => {
7077
+ let var$2;
7078
+ var$1 = var$1.$errors1;
7079
+ var$2 = $rt_createArray(asr_JsCompilationResult$JsCompilationError, 0);
7080
+ return otji_JS_wrap(ju_AbstractCollection_toArray(var$1, var$2));
7081
+ };
7082
+ var asr_JsCompilationResult_hasErrors$exported$1 = (var$1) => {
7083
+ var$1 = var$1;
7084
+ return !!(ju_AbstractCollection_isEmpty(var$1.$errors1) ? 0 : 1);
7085
+ };
7086
+ var asr_JsCompilationResult_getReport$exported$2 = (var$1) => {
7087
+ return $rt_ustr(var$1.$report);
7088
+ };
7089
+ function asr_AssemblyException() {
7090
+ jl_Exception.call(this);
7091
+ this.$errs = null;
7092
+ }
7093
+ var asr_AssemblyException__init_0 = ($this, $errs) => {
7094
+ jl_Throwable__init_($this);
7095
+ $this.$errs = $errs;
7096
+ };
7097
+ var asr_AssemblyException__init_ = (var_0) => {
7098
+ let var_1 = new asr_AssemblyException();
7099
+ asr_AssemblyException__init_0(var_1, var_0);
7100
+ return var_1;
7101
+ };
7102
+ function asr_JsProgramStatement() {
7103
+ let a = this;
7104
+ jl_Object.call(a);
7105
+ a.$sourceLine1 = 0;
7106
+ a.$address2 = 0;
7107
+ a.$binaryStatement0 = 0;
7108
+ a.$source3 = null;
7109
+ a.$assemblyStatement = null;
7110
+ a.$machineStatement0 = null;
7111
+ }
7112
+ var asr_JsProgramStatement__init_0 = ($this, $programStatement) => {
7113
+ let var$2, var$3, var$4, var$5, var$6;
7114
+ $this.$sourceLine1 = $programStatement.$sourceLine0;
7115
+ $this.$address2 = $programStatement.$textAddress0;
7116
+ $this.$binaryStatement0 = $programStatement.$binaryStatement;
7117
+ $this.$source3 = $programStatement.$source;
7118
+ var$2 = $programStatement.$basicStatementList;
7119
+ var$3 = !asr_Settings_getBooleanSetting(asr_Globals_getSettings(), asr_Settings$Bool_DISPLAY_ADDRESSES_IN_HEX) ? 10 : 16;
7120
+ var$4 = !asr_Settings_getBooleanSetting(asr_Globals_getSettings(), asr_Settings$Bool_DISPLAY_ADDRESSES_IN_HEX) ? 10 : 16;
7121
+ var$5 = new jl_StringBuffer();
7122
+ jl_AbstractStringBuilder__init_(var$5);
7123
+ var$6 = ju_AbstractList_iterator(var$2.$list);
7124
+ while (ju_AbstractList$1_hasNext(var$6)) {
7125
+ a: {
7126
+ var$2 = ju_AbstractList$1_next(var$6);
7127
+ switch (var$2.$type3) {
7128
+ case 0:
7129
+ break;
7130
+ case 1:
7131
+ if (var$3 == 10) {
7132
+ jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7133
+ break a;
7134
+ }
7135
+ jl_AbstractStringBuilder_append1(var$5, asru_Binary_intToHexString(var$2.$iValue));
7136
+ break a;
7137
+ case 2:
7138
+ if (var$4 == 10) {
7139
+ jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7140
+ break a;
7141
+ }
7142
+ jl_AbstractStringBuilder_append1(var$5, asru_Binary_intToHexString(var$2.$iValue));
7143
+ break a;
7144
+ case 3:
7145
+ jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7146
+ break a;
7147
+ default:
7148
+ break a;
7149
+ }
7150
+ jl_AbstractStringBuilder_append1(var$5, var$2.$sValue);
7151
+ }
7152
+ }
7153
+ $this.$assemblyStatement = jl_AbstractStringBuilder_toString(var$5);
7154
+ $this.$machineStatement0 = $programStatement.$machineStatement;
7155
+ };
7156
+ var asr_JsProgramStatement__init_ = (var_0) => {
7157
+ let var_1 = new asr_JsProgramStatement();
7158
+ asr_JsProgramStatement__init_0(var_1, var_0);
7159
+ return var_1;
7160
+ };
7161
+ var asr_JsProgramStatement_getSourceLine$exported$0 = (var$1) => {
7162
+ return var$1.$sourceLine1;
7163
+ };
7164
+ var asr_JsProgramStatement_getAssemblyStatement$exported$1 = (var$1) => {
7165
+ return $rt_ustr(var$1.$assemblyStatement);
7166
+ };
7167
+ var asr_JsProgramStatement_getSource$exported$2 = (var$1) => {
7168
+ return $rt_ustr(var$1.$source3);
7169
+ };
7170
+ var asr_JsProgramStatement_getAddress$exported$3 = (var$1) => {
7171
+ return var$1.$address2;
7172
+ };
7173
+ var asr_JsProgramStatement_getBinaryStatement$exported$4 = (var$1) => {
7174
+ return var$1.$binaryStatement0;
7175
+ };
7176
+ var asr_JsProgramStatement_getMachineStatement$exported$5 = (var$1) => {
7177
+ return $rt_ustr(var$1.$machineStatement0);
7178
+ };
7040
7179
  var asrrh_RegisterFile = $rt_classWithoutFields();
7041
7180
  var asrrh_RegisterFile_instance = null;
7042
7181
  var asrrh_RegisterFile_programCounter = null;
@@ -7044,16 +7183,16 @@ var asrrh_RegisterFile_$callClinit = () => {
7044
7183
  asrrh_RegisterFile_$callClinit = $rt_eraseClinit(asrrh_RegisterFile);
7045
7184
  asrrh_RegisterFile__clinit_();
7046
7185
  };
7047
- var asrrh_RegisterFile_updateRegister = (var$1, var$2) => {
7186
+ var asrrh_RegisterFile_updateRegister = ($num, $val) => {
7048
7187
  let var$3;
7049
7188
  asrrh_RegisterFile_$callClinit();
7050
- if (var$1) {
7189
+ if ($num) {
7051
7190
  if (!asr_Settings_getBackSteppingEnabled(asr_Globals_getSettings()))
7052
- asrrh_RegisterBlock_updateRegister(asrrh_RegisterFile_instance, var$1, var$2);
7191
+ asrrh_RegisterBlock_updateRegister(asrrh_RegisterFile_instance, $num, $val);
7053
7192
  else {
7054
7193
  var$3 = asr_Globals_program.$backStepper;
7055
- var$2 = asrrh_RegisterBlock_updateRegister(asrrh_RegisterFile_instance, var$1, var$2);
7056
- asrs_BackStepper$BackstepStack_push(var$3.$backSteps, asrs_BackStepper$Action_REGISTER_RESTORE, asrs_BackStepper_pc(var$3), var$1, var$2);
7194
+ $val = asrrh_RegisterBlock_updateRegister(asrrh_RegisterFile_instance, $num, $val);
7195
+ asrs_BackStepper$BackstepStack_push(var$3.$backSteps, asrs_BackStepper$Action_REGISTER_RESTORE, asrs_BackStepper_pc(var$3), $num, $val);
7057
7196
  }
7058
7197
  }
7059
7198
  };
@@ -7168,83 +7307,6 @@ var asrrh_RegisterFile__clinit_ = () => {
7168
7307
  asrrh_RegisterFile_instance = var$1;
7169
7308
  asrrh_RegisterFile_programCounter = asrrh_Register__init_($rt_s(242), -1, Long_fromInt(asrrh_Memory_textBaseAddress));
7170
7309
  };
7171
- function asr_JsProgramStatement() {
7172
- let a = this;
7173
- jl_Object.call(a);
7174
- a.$sourceLine1 = 0;
7175
- a.$address2 = 0;
7176
- a.$binaryStatement0 = 0;
7177
- a.$source3 = null;
7178
- a.$assemblyStatement = null;
7179
- a.$machineStatement0 = null;
7180
- }
7181
- var asr_JsProgramStatement__init_0 = ($this, $programStatement) => {
7182
- let var$2, var$3, var$4, var$5, var$6;
7183
- $this.$sourceLine1 = $programStatement.$sourceLine0;
7184
- $this.$address2 = $programStatement.$textAddress0;
7185
- $this.$binaryStatement0 = $programStatement.$binaryStatement;
7186
- $this.$source3 = $programStatement.$source;
7187
- var$2 = $programStatement.$basicStatementList;
7188
- var$3 = !asr_Settings_getBooleanSetting(asr_Globals_getSettings(), asr_Settings$Bool_DISPLAY_ADDRESSES_IN_HEX) ? 10 : 16;
7189
- var$4 = !asr_Settings_getBooleanSetting(asr_Globals_getSettings(), asr_Settings$Bool_DISPLAY_ADDRESSES_IN_HEX) ? 10 : 16;
7190
- var$5 = new jl_StringBuffer();
7191
- jl_AbstractStringBuilder__init_(var$5);
7192
- var$6 = ju_AbstractList_iterator(var$2.$list);
7193
- while (ju_AbstractList$1_hasNext(var$6)) {
7194
- a: {
7195
- var$2 = ju_AbstractList$1_next(var$6);
7196
- switch (var$2.$type3) {
7197
- case 0:
7198
- break;
7199
- case 1:
7200
- if (var$3 == 10) {
7201
- jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7202
- break a;
7203
- }
7204
- jl_AbstractStringBuilder_append1(var$5, asru_Binary_intToHexString(var$2.$iValue));
7205
- break a;
7206
- case 2:
7207
- if (var$4 == 10) {
7208
- jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7209
- break a;
7210
- }
7211
- jl_AbstractStringBuilder_append1(var$5, asru_Binary_intToHexString(var$2.$iValue));
7212
- break a;
7213
- case 3:
7214
- jl_AbstractStringBuilder_append(var$5, var$2.$iValue);
7215
- break a;
7216
- default:
7217
- break a;
7218
- }
7219
- jl_AbstractStringBuilder_append1(var$5, var$2.$sValue);
7220
- }
7221
- }
7222
- $this.$assemblyStatement = jl_AbstractStringBuilder_toString(var$5);
7223
- $this.$machineStatement0 = $programStatement.$machineStatement;
7224
- };
7225
- var asr_JsProgramStatement__init_ = (var_0) => {
7226
- let var_1 = new asr_JsProgramStatement();
7227
- asr_JsProgramStatement__init_0(var_1, var_0);
7228
- return var_1;
7229
- };
7230
- var asr_JsProgramStatement_getSourceLine$exported$0 = (var$1) => {
7231
- return var$1.$sourceLine1;
7232
- };
7233
- var asr_JsProgramStatement_getAssemblyStatement$exported$1 = (var$1) => {
7234
- return $rt_ustr(var$1.$assemblyStatement);
7235
- };
7236
- var asr_JsProgramStatement_getSource$exported$2 = (var$1) => {
7237
- return $rt_ustr(var$1.$source3);
7238
- };
7239
- var asr_JsProgramStatement_getAddress$exported$3 = (var$1) => {
7240
- return var$1.$address2;
7241
- };
7242
- var asr_JsProgramStatement_getBinaryStatement$exported$4 = (var$1) => {
7243
- return var$1.$binaryStatement0;
7244
- };
7245
- var asr_JsProgramStatement_getMachineStatement$exported$5 = (var$1) => {
7246
- return $rt_ustr(var$1.$machineStatement0);
7247
- };
7248
7310
  var ju_Arrays = $rt_classWithoutFields();
7249
7311
  var ju_Arrays_copyOf1 = ($array, $length) => {
7250
7312
  let $result, var$4, $sz, $i;
@@ -7436,6 +7498,8 @@ var ju_Arrays_stream = ($array) => {
7436
7498
  var$3.$size2 = var$4 - 0 | 0;
7437
7499
  return var$3;
7438
7500
  };
7501
+ var juf_ToIntFunction = $rt_classWithoutFields(0);
7502
+ var asr_JsRiscV$getRegistersValues$lambda$_20_0 = $rt_classWithoutFields();
7439
7503
  var asr_JsRiscV$getUndoStack$lambda$_21_0 = $rt_classWithoutFields();
7440
7504
  var asr_JsRiscV$getUndoStack$lambda$_21_0_apply = (var$0, var$1) => {
7441
7505
  let var$2, var$3;
@@ -7473,70 +7537,40 @@ var asr_JsBackStep_getAction$exported$2 = (var$1) => {
7473
7537
  var asr_JsBackStep_getParam1$exported$3 = (var$1) => {
7474
7538
  return var$1.$param10;
7475
7539
  };
7476
- function asr_JsCompilationResult() {
7477
- let a = this;
7478
- jl_Object.call(a);
7479
- a.$report = null;
7480
- a.$errors1 = null;
7481
- }
7482
- var asr_JsCompilationResult__init_0 = ($this, $errorReport) => {
7483
- let var$2, var$3, var$4;
7484
- var$2 = asr_ErrorList_generateReport($errorReport, 1);
7485
- var$3 = asr_ErrorList_generateReport($errorReport, 0);
7486
- var$4 = new jl_StringBuilder();
7487
- jl_AbstractStringBuilder__init_(var$4);
7488
- jl_StringBuilder_append(jl_StringBuilder_append(var$4, var$2), var$3);
7489
- $this.$report = jl_AbstractStringBuilder_toString(var$4);
7490
- $errorReport = ju_Collection_stream($errorReport.$messages);
7491
- var$4 = new asr_JsCompilationResult$_init_$lambda$_0_0();
7492
- var$4.$_06 = $this;
7493
- $errorReport = jusi_SimpleStreamImpl_map($errorReport, var$4);
7494
- var$4 = new asr_JsCompilationResult$_init_$lambda$_0_2();
7495
- $errorReport = $errorReport;
7496
- var$3 = ju_ArrayList__init_();
7497
- var$2 = $errorReport;
7498
- while (true) {
7499
- $errorReport = new jusi_SimpleStreamImpl$collect$lambda$_25_0();
7500
- $errorReport.$_08 = var$4;
7501
- $errorReport.$_12 = var$3;
7502
- if (!jusi_WrappingStreamImpl_next(var$2, $errorReport))
7503
- break;
7504
- }
7505
- $this.$errors1 = var$3;
7506
- };
7507
- var asr_JsCompilationResult__init_ = (var_0) => {
7508
- let var_1 = new asr_JsCompilationResult();
7509
- asr_JsCompilationResult__init_0(var_1, var_0);
7510
- return var_1;
7511
- };
7512
- var asr_JsCompilationResult_getErrors$exported$0 = (var$1) => {
7513
- let var$2;
7514
- var$1 = var$1.$errors1;
7515
- var$2 = $rt_createArray(asr_JsCompilationResult$JsCompilationError, 0);
7516
- return otji_JS_wrap(ju_AbstractCollection_toArray(var$1, var$2));
7517
- };
7518
- var asr_JsCompilationResult_hasErrors$exported$1 = (var$1) => {
7540
+ var asr_JsRiscV$getTokenizedLines$lambda$_5_0 = $rt_classWithoutFields();
7541
+ var asr_JsRiscV$getTokenizedLines$lambda$_5_0_apply = (var$0, var$1) => {
7542
+ let var$2, var$3, var$4, var$5;
7519
7543
  var$1 = var$1;
7520
- return !!(ju_AbstractCollection_isEmpty(var$1.$errors1) ? 0 : 1);
7544
+ asr_JsRiscV_$callClinit();
7545
+ var$2 = $rt_createArray(asr_JsRiscVToken, asra_TokenList_size(var$1));
7546
+ var$3 = var$2.data;
7547
+ var$4 = 0;
7548
+ while (var$4 < asra_TokenList_size(var$1)) {
7549
+ var$3[var$4] = asr_JsRiscVToken__init_(asra_TokenList_get(var$1, var$4));
7550
+ var$4 = var$4 + 1 | 0;
7551
+ }
7552
+ var$5 = new asr_JsRiscVTokenizedLine();
7553
+ var$5.$line0 = var$1.$processedLine;
7554
+ var$5.$tokens0 = var$2;
7555
+ return var$5;
7521
7556
  };
7522
- var asr_JsCompilationResult_getReport$exported$2 = (var$1) => {
7523
- return $rt_ustr(var$1.$report);
7557
+ var asr_JsRiscV$getTokenizedLines$lambda$_5_1 = $rt_classWithoutFields();
7558
+ var asr_JsRiscV$getTokenizedLines$lambda$_5_1_apply = (var$0, var$1) => {
7559
+ asr_JsRiscV_$callClinit();
7560
+ return $rt_createArray(asr_JsRiscVTokenizedLine, var$1);
7524
7561
  };
7525
- function asr_AssemblyException() {
7526
- jl_Exception.call(this);
7527
- this.$errs = null;
7562
+ function asr_JsRiscVTokenizedLine() {
7563
+ let a = this;
7564
+ jl_Object.call(a);
7565
+ a.$line0 = null;
7566
+ a.$tokens0 = null;
7528
7567
  }
7529
- var asr_AssemblyException__init_0 = ($this, $errs) => {
7530
- jl_Throwable__init_($this);
7531
- $this.$errs = $errs;
7568
+ var asr_JsRiscVTokenizedLine_getLine$exported$0 = (var$1) => {
7569
+ return $rt_ustr(var$1.$line0);
7532
7570
  };
7533
- var asr_AssemblyException__init_ = (var_0) => {
7534
- let var_1 = new asr_AssemblyException();
7535
- asr_AssemblyException__init_0(var_1, var_0);
7536
- return var_1;
7571
+ var asr_JsRiscVTokenizedLine_getTokens$exported$1 = (var$1) => {
7572
+ return otji_JS_wrap(var$1.$tokens0);
7537
7573
  };
7538
- var juf_ToIntFunction = $rt_classWithoutFields(0);
7539
- var asr_JsRiscV$getRegistersValues$lambda$_20_0 = $rt_classWithoutFields();
7540
7574
  function asr_JsStackFrame() {
7541
7575
  let a = this;
7542
7576
  jl_Object.call(a);
@@ -7561,40 +7595,6 @@ var asr_JsStackFrame_getSp$exported$3 = (var$1) => {
7561
7595
  var asr_JsStackFrame_getFp$exported$4 = (var$1) => {
7562
7596
  return var$1.$fp;
7563
7597
  };
7564
- var asr_JsRiscV$getTokenizedLines$lambda$_5_0 = $rt_classWithoutFields();
7565
- var asr_JsRiscV$getTokenizedLines$lambda$_5_0_apply = (var$0, var$1) => {
7566
- let var$2, var$3, var$4, var$5;
7567
- var$1 = var$1;
7568
- asr_JsRiscV_$callClinit();
7569
- var$2 = $rt_createArray(asr_JsRiscVToken, asra_TokenList_size(var$1));
7570
- var$3 = var$2.data;
7571
- var$4 = 0;
7572
- while (var$4 < asra_TokenList_size(var$1)) {
7573
- var$3[var$4] = asr_JsRiscVToken__init_(asra_TokenList_get(var$1, var$4));
7574
- var$4 = var$4 + 1 | 0;
7575
- }
7576
- var$5 = new asr_JsRiscVTokenizedLine();
7577
- var$5.$line0 = var$1.$processedLine;
7578
- var$5.$tokens0 = var$2;
7579
- return var$5;
7580
- };
7581
- var asr_JsRiscV$getTokenizedLines$lambda$_5_1 = $rt_classWithoutFields();
7582
- var asr_JsRiscV$getTokenizedLines$lambda$_5_1_apply = (var$0, var$1) => {
7583
- asr_JsRiscV_$callClinit();
7584
- return $rt_createArray(asr_JsRiscVTokenizedLine, var$1);
7585
- };
7586
- function asr_JsRiscVTokenizedLine() {
7587
- let a = this;
7588
- jl_Object.call(a);
7589
- a.$line0 = null;
7590
- a.$tokens0 = null;
7591
- }
7592
- var asr_JsRiscVTokenizedLine_getLine$exported$0 = (var$1) => {
7593
- return $rt_ustr(var$1.$line0);
7594
- };
7595
- var asr_JsRiscVTokenizedLine_getTokens$exported$1 = (var$1) => {
7596
- return otji_JS_wrap(var$1.$tokens0);
7597
- };
7598
7598
  var ju_Map$Entry = $rt_classWithoutFields(0);
7599
7599
  function ju_MapEntry() {
7600
7600
  let a = this;
@@ -8139,6 +8139,29 @@ var asr_RISCVFile_getName = ($this) => {
8139
8139
  return $this.$name2;
8140
8140
  };
8141
8141
  var jl_StringIndexOutOfBoundsException = $rt_classWithoutFields(jl_IndexOutOfBoundsException);
8142
+ function asr_JsCompilationResult$_init_$lambda$_0_0() {
8143
+ jl_Object.call(this);
8144
+ this.$_06 = null;
8145
+ }
8146
+ var asr_JsCompilationResult$_init_$lambda$_0_0_apply = (var$0, var$1) => {
8147
+ let var$2, var$3;
8148
+ var$1 = var$1;
8149
+ var$2 = var$0.$_06;
8150
+ var$3 = new asr_JsCompilationResult$JsCompilationError();
8151
+ var$3.$this$016 = var$2;
8152
+ var$3.$isWarning0 = var$1.$isWarning;
8153
+ var$3.$message2 = var$1.$message0;
8154
+ var$3.$macroExpansionHistory0 = asr_ErrorMessage_getMacroExpansionHistory(var$1);
8155
+ var$3.$filename2 = var$1.$filename0;
8156
+ var$3.$lineNumber0 = var$1.$line;
8157
+ var$3.$columnNumber = var$1.$position2;
8158
+ return var$3;
8159
+ };
8160
+ var juf_Supplier = $rt_classWithoutFields(0);
8161
+ var asr_JsCompilationResult$_init_$lambda$_0_1 = $rt_classWithoutFields();
8162
+ var juf_BiConsumer = $rt_classWithoutFields(0);
8163
+ var asr_JsCompilationResult$_init_$lambda$_0_2 = $rt_classWithoutFields();
8164
+ var asr_JsCompilationResult$_init_$lambda$_0_3 = $rt_classWithoutFields();
8142
8165
  function asrrh_Register() {
8143
8166
  let a = this;
8144
8167
  ju_Observable.call(a);
@@ -8250,6 +8273,104 @@ var asrs_BackStepper_addDoNothing = ($this, $pc) => {
8250
8273
  if (!(!asrs_BackStepper$BackstepStack_empty($this.$backSteps) && asrs_BackStepper$BackstepStack_peek($this.$backSteps).$pc1 == $pc))
8251
8274
  asrs_BackStepper$BackstepStack_push1($this.$backSteps, asrs_BackStepper$Action_DO_NOTHING, $pc);
8252
8275
  };
8276
+ var jl_AutoCloseable = $rt_classWithoutFields(0);
8277
+ var jus_BaseStream = $rt_classWithoutFields(0);
8278
+ var jus_Stream = $rt_classWithoutFields(0);
8279
+ var jusi_SimpleStreamImpl = $rt_classWithoutFields();
8280
+ var jusi_SimpleStreamImpl_filter = ($this, $predicate) => {
8281
+ let var$2;
8282
+ var$2 = new jusi_FilteringStreamImpl();
8283
+ jusi_WrappingStreamImpl__init_(var$2, $this);
8284
+ var$2.$filter0 = $predicate;
8285
+ return var$2;
8286
+ };
8287
+ var jusi_SimpleStreamImpl_map = ($this, $mapper) => {
8288
+ let var$2;
8289
+ var$2 = new jusi_MappingStreamImpl();
8290
+ jusi_WrappingStreamImpl__init_(var$2, $this);
8291
+ var$2.$mapper = $mapper;
8292
+ return var$2;
8293
+ };
8294
+ var jusi_SimpleStreamImpl_toArray = ($this, $generator) => {
8295
+ let var$2, $estimatedSize, $array, $consumer, var$6, $list, $i;
8296
+ var$2 = $this;
8297
+ $estimatedSize = var$2.$sourceStream.$estimateSize();
8298
+ if ($estimatedSize >= 0) {
8299
+ $array = $generator.$apply($estimatedSize);
8300
+ $consumer = new jusi_SimpleStreamImpl$ArrayFillingConsumer();
8301
+ $consumer.$array4 = $array;
8302
+ while (jusi_WrappingStreamImpl_next(var$2, $consumer)) {
8303
+ }
8304
+ var$6 = $array.data;
8305
+ $estimatedSize = $consumer.$index3;
8306
+ if ($estimatedSize < var$6.length)
8307
+ $array = ju_Arrays_copyOf($array, $estimatedSize);
8308
+ return $array;
8309
+ }
8310
+ $list = ju_ArrayList__init_();
8311
+ while (true) {
8312
+ ju_Objects_requireNonNull($list);
8313
+ $consumer = new jusi_SimpleStreamImpl$toArray$lambda$_21_0();
8314
+ $consumer.$_02 = $list;
8315
+ if (!jusi_WrappingStreamImpl_next(var$2, $consumer))
8316
+ break;
8317
+ }
8318
+ $list = $list;
8319
+ $array = $generator.$apply($list.$size0);
8320
+ $i = 0;
8321
+ while (true) {
8322
+ var$6 = $array.data;
8323
+ if ($i >= var$6.length)
8324
+ break;
8325
+ var$6[$i] = ju_ArrayList_get($list, $i);
8326
+ $i = $i + 1 | 0;
8327
+ }
8328
+ return $array;
8329
+ };
8330
+ var jusi_SimpleStreamImpl_findFirst = ($this) => {
8331
+ let $consumer, var$2, var$3;
8332
+ $consumer = new jusi_FindFirstConsumer();
8333
+ var$2 = $this;
8334
+ while ($consumer.$result === null && jusi_WrappingStreamImpl_next(var$2, $consumer)) {
8335
+ }
8336
+ $consumer = $consumer.$result;
8337
+ if ($consumer !== null)
8338
+ var$3 = ju_Optional__init_(ju_Objects_requireNonNull($consumer));
8339
+ else {
8340
+ if (ju_Optional_emptyInstance === null)
8341
+ ju_Optional_emptyInstance = ju_Optional__init_(null);
8342
+ var$3 = ju_Optional_emptyInstance;
8343
+ }
8344
+ return var$3;
8345
+ };
8346
+ function jusi_ArrayStreamImpl() {
8347
+ let a = this;
8348
+ jusi_SimpleStreamImpl.call(a);
8349
+ a.$array6 = null;
8350
+ a.$index1 = 0;
8351
+ a.$end1 = 0;
8352
+ a.$size2 = 0;
8353
+ }
8354
+ var jusi_ArrayStreamImpl_next = ($this, $consumer) => {
8355
+ let var$2, var$3;
8356
+ a: {
8357
+ while (true) {
8358
+ var$2 = $this.$index1;
8359
+ if (var$2 >= $this.$end1)
8360
+ break a;
8361
+ var$3 = $this.$array6.data;
8362
+ $this.$index1 = var$2 + 1 | 0;
8363
+ if ($consumer.$test(var$3[var$2]))
8364
+ continue;
8365
+ else
8366
+ break;
8367
+ }
8368
+ }
8369
+ return $this.$index1 >= $this.$end1 ? 0 : 1;
8370
+ };
8371
+ var jusi_ArrayStreamImpl_estimateSize = ($this) => {
8372
+ return $this.$size2;
8373
+ };
8253
8374
  function asrs_BackStepper$BackstepStack() {
8254
8375
  let a = this;
8255
8376
  jl_Object.call(a);
@@ -8352,127 +8473,6 @@ var asrs_BackStepper$BackstepStack_peek = ($this) => {
8352
8473
  jl_Object_monitorExitSync($this);
8353
8474
  }
8354
8475
  };
8355
- var jl_AutoCloseable = $rt_classWithoutFields(0);
8356
- var jus_BaseStream = $rt_classWithoutFields(0);
8357
- var jus_Stream = $rt_classWithoutFields(0);
8358
- var jusi_SimpleStreamImpl = $rt_classWithoutFields();
8359
- var jusi_SimpleStreamImpl_filter = ($this, $predicate) => {
8360
- let var$2;
8361
- var$2 = new jusi_FilteringStreamImpl();
8362
- jusi_WrappingStreamImpl__init_(var$2, $this);
8363
- var$2.$filter0 = $predicate;
8364
- return var$2;
8365
- };
8366
- var jusi_SimpleStreamImpl_map = ($this, $mapper) => {
8367
- let var$2;
8368
- var$2 = new jusi_MappingStreamImpl();
8369
- jusi_WrappingStreamImpl__init_(var$2, $this);
8370
- var$2.$mapper = $mapper;
8371
- return var$2;
8372
- };
8373
- var jusi_SimpleStreamImpl_toArray = ($this, $generator) => {
8374
- let var$2, $estimatedSize, $array, $consumer, var$6, $list, $i;
8375
- var$2 = $this;
8376
- $estimatedSize = var$2.$sourceStream.$estimateSize();
8377
- if ($estimatedSize >= 0) {
8378
- $array = $generator.$apply($estimatedSize);
8379
- $consumer = new jusi_SimpleStreamImpl$ArrayFillingConsumer();
8380
- $consumer.$array4 = $array;
8381
- while (jusi_WrappingStreamImpl_next(var$2, $consumer)) {
8382
- }
8383
- var$6 = $array.data;
8384
- $estimatedSize = $consumer.$index3;
8385
- if ($estimatedSize < var$6.length)
8386
- $array = ju_Arrays_copyOf($array, $estimatedSize);
8387
- return $array;
8388
- }
8389
- $list = ju_ArrayList__init_();
8390
- while (true) {
8391
- ju_Objects_requireNonNull($list);
8392
- $consumer = new jusi_SimpleStreamImpl$toArray$lambda$_21_0();
8393
- $consumer.$_02 = $list;
8394
- if (!jusi_WrappingStreamImpl_next(var$2, $consumer))
8395
- break;
8396
- }
8397
- $list = $list;
8398
- $array = $generator.$apply($list.$size0);
8399
- $i = 0;
8400
- while (true) {
8401
- var$6 = $array.data;
8402
- if ($i >= var$6.length)
8403
- break;
8404
- var$6[$i] = ju_ArrayList_get($list, $i);
8405
- $i = $i + 1 | 0;
8406
- }
8407
- return $array;
8408
- };
8409
- var jusi_SimpleStreamImpl_findFirst = ($this) => {
8410
- let $consumer, var$2, var$3;
8411
- $consumer = new jusi_FindFirstConsumer();
8412
- var$2 = $this;
8413
- while ($consumer.$result === null && jusi_WrappingStreamImpl_next(var$2, $consumer)) {
8414
- }
8415
- $consumer = $consumer.$result;
8416
- if ($consumer !== null)
8417
- var$3 = ju_Optional__init_(ju_Objects_requireNonNull($consumer));
8418
- else {
8419
- if (ju_Optional_emptyInstance === null)
8420
- ju_Optional_emptyInstance = ju_Optional__init_(null);
8421
- var$3 = ju_Optional_emptyInstance;
8422
- }
8423
- return var$3;
8424
- };
8425
- function jusi_ArrayStreamImpl() {
8426
- let a = this;
8427
- jusi_SimpleStreamImpl.call(a);
8428
- a.$array6 = null;
8429
- a.$index1 = 0;
8430
- a.$end1 = 0;
8431
- a.$size2 = 0;
8432
- }
8433
- var jusi_ArrayStreamImpl_next = ($this, $consumer) => {
8434
- let var$2, var$3;
8435
- a: {
8436
- while (true) {
8437
- var$2 = $this.$index1;
8438
- if (var$2 >= $this.$end1)
8439
- break a;
8440
- var$3 = $this.$array6.data;
8441
- $this.$index1 = var$2 + 1 | 0;
8442
- if ($consumer.$test(var$3[var$2]))
8443
- continue;
8444
- else
8445
- break;
8446
- }
8447
- }
8448
- return $this.$index1 >= $this.$end1 ? 0 : 1;
8449
- };
8450
- var jusi_ArrayStreamImpl_estimateSize = ($this) => {
8451
- return $this.$size2;
8452
- };
8453
- function asr_JsCompilationResult$_init_$lambda$_0_0() {
8454
- jl_Object.call(this);
8455
- this.$_06 = null;
8456
- }
8457
- var asr_JsCompilationResult$_init_$lambda$_0_0_apply = (var$0, var$1) => {
8458
- let var$2, var$3;
8459
- var$1 = var$1;
8460
- var$2 = var$0.$_06;
8461
- var$3 = new asr_JsCompilationResult$JsCompilationError();
8462
- var$3.$this$016 = var$2;
8463
- var$3.$isWarning0 = var$1.$isWarning;
8464
- var$3.$message2 = var$1.$message0;
8465
- var$3.$macroExpansionHistory0 = asr_ErrorMessage_getMacroExpansionHistory(var$1);
8466
- var$3.$filename2 = var$1.$filename0;
8467
- var$3.$lineNumber0 = var$1.$line;
8468
- var$3.$columnNumber = var$1.$position2;
8469
- return var$3;
8470
- };
8471
- var juf_Supplier = $rt_classWithoutFields(0);
8472
- var asr_JsCompilationResult$_init_$lambda$_0_1 = $rt_classWithoutFields();
8473
- var juf_BiConsumer = $rt_classWithoutFields(0);
8474
- var asr_JsCompilationResult$_init_$lambda$_0_2 = $rt_classWithoutFields();
8475
- var asr_JsCompilationResult$_init_$lambda$_0_3 = $rt_classWithoutFields();
8476
8476
  var jl_Math = $rt_classWithoutFields();
8477
8477
  var jl_Math_pow = ($x, $y) => {
8478
8478
  return jl_Math_powImpl($x, $y);
@@ -10136,28 +10136,30 @@ var asrri_JAL__init_ = () => {
10136
10136
  return var_0;
10137
10137
  };
10138
10138
  var asrri_JAL_simulate = ($this, $statement) => {
10139
- let $operands, $address, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11;
10139
+ let $operands, $address, var$4, var$5, var$6, var$7, var$8, var$9, var$10;
10140
10140
  $operands = $statement.$operands.data;
10141
10141
  asrr_InstructionSet_processReturnAddress($operands[0]);
10142
10142
  $address = (asrrh_RegisterFile_getProgramCounter() - 4 | 0) + $operands[1] | 0;
10143
- var$4 = new asrrh_StackFrame();
10144
- var$5 = asrrh_RegisterFile_getProgramCounter();
10145
- var$6 = Long_lo(asrrh_RegisterFile_getStackPointerRegister().$getValue());
10146
- var$7 = Long_lo(asrrh_RegisterBlock_getRegister(asrrh_RegisterFile_instance, $rt_s(212)).$getValue());
10147
- var$8 = asrrh_RegisterFile_instance.$regFile.data.length;
10148
- var$9 = $rt_createIntArray(var$8);
10149
- var$10 = var$9.data;
10150
- var$11 = 0;
10151
- while (var$11 < var$8) {
10152
- var$10[var$11] = Long_lo(asrrh_RegisterFile_instance.$regFile.data[var$11].$getValue());
10153
- var$11 = var$11 + 1 | 0;
10154
- }
10155
- var$4.$pc4 = var$5;
10156
- var$4.$sp0 = var$6;
10157
- var$4.$fp0 = var$7;
10158
- var$4.$toAddress = $address;
10159
- var$4.$registers0 = var$9;
10160
- ju_ArrayList_add(asrrh_Stack_callStack, var$4);
10143
+ if ($operands[0] == 1) {
10144
+ var$4 = new asrrh_StackFrame();
10145
+ var$5 = asrrh_RegisterFile_getProgramCounter();
10146
+ var$6 = Long_lo(asrrh_RegisterFile_getStackPointerRegister().$getValue());
10147
+ var$7 = Long_lo(asrrh_RegisterBlock_getRegister(asrrh_RegisterFile_instance, $rt_s(212)).$getValue());
10148
+ var$8 = asrrh_RegisterFile_instance.$regFile.data.length;
10149
+ $operands = $rt_createIntArray(var$8);
10150
+ var$9 = $operands.data;
10151
+ var$10 = 0;
10152
+ while (var$10 < var$8) {
10153
+ var$9[var$10] = Long_lo(asrrh_RegisterFile_instance.$regFile.data[var$10].$getValue());
10154
+ var$10 = var$10 + 1 | 0;
10155
+ }
10156
+ var$4.$pc4 = var$5;
10157
+ var$4.$sp0 = var$6;
10158
+ var$4.$fp0 = var$7;
10159
+ var$4.$toAddress = $address;
10160
+ var$4.$registers0 = $operands;
10161
+ ju_ArrayList_add(asrrh_Stack_callStack, var$4);
10162
+ }
10161
10163
  asrr_InstructionSet_processJump($address);
10162
10164
  };
10163
10165
  var asrri_JALR = $rt_classWithoutFields(asrr_BasicInstruction);
@@ -11725,6 +11727,82 @@ var ju_Comparator$NaturalOrder_compare = ($this, $o1, $o2) => {
11725
11727
  var ju_Comparator$NaturalOrder__clinit_ = () => {
11726
11728
  ju_Comparator$NaturalOrder_INSTANCE = new ju_Comparator$NaturalOrder();
11727
11729
  };
11730
+ function asr_ErrorList() {
11731
+ let a = this;
11732
+ jl_Object.call(a);
11733
+ a.$messages = null;
11734
+ a.$errorCount = 0;
11735
+ a.$warningCount = 0;
11736
+ }
11737
+ var asr_ErrorList__init_0 = ($this) => {
11738
+ $this.$messages = ju_ArrayList__init_();
11739
+ $this.$errorCount = 0;
11740
+ $this.$warningCount = 0;
11741
+ };
11742
+ var asr_ErrorList__init_ = () => {
11743
+ let var_0 = new asr_ErrorList();
11744
+ asr_ErrorList__init_0(var_0);
11745
+ return var_0;
11746
+ };
11747
+ var asr_ErrorList_errorsOccurred = ($this) => {
11748
+ return !$this.$errorCount ? 0 : 1;
11749
+ };
11750
+ var asr_ErrorList_warningsOccurred = ($this) => {
11751
+ return !$this.$warningCount ? 0 : 1;
11752
+ };
11753
+ var asr_ErrorList_add = ($this, $mess) => {
11754
+ let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9;
11755
+ var$2 = $this.$messages.$size0;
11756
+ if ($this.$errorCount <= asr_ErrorList_getErrorLimit($this)) {
11757
+ if ($this.$errorCount != asr_ErrorList_getErrorLimit($this)) {
11758
+ ju_ArrayList_add0($this.$messages, var$2, $mess);
11759
+ if (!$mess.$isWarning)
11760
+ $this.$errorCount = $this.$errorCount + 1 | 0;
11761
+ else
11762
+ $this.$warningCount = $this.$warningCount + 1 | 0;
11763
+ } else {
11764
+ var$3 = $this.$messages;
11765
+ var$4 = new asr_ErrorMessage();
11766
+ var$5 = null;
11767
+ var$2 = $mess.$line;
11768
+ var$6 = $mess.$position2;
11769
+ var$7 = asr_ErrorList_getErrorLimit($this);
11770
+ var$8 = new jl_StringBuilder();
11771
+ jl_AbstractStringBuilder__init_(var$8);
11772
+ var$9 = jl_StringBuilder_append(var$8, $rt_s(1021));
11773
+ jl_AbstractStringBuilder_append(var$9, var$7);
11774
+ jl_StringBuilder_append(var$9, $rt_s(1022));
11775
+ asr_ErrorMessage__init_(var$4, var$5, var$2, var$6, jl_AbstractStringBuilder_toString(var$8));
11776
+ ju_ArrayList_add(var$3, var$4);
11777
+ $this.$errorCount = $this.$errorCount + 1 | 0;
11778
+ }
11779
+ }
11780
+ };
11781
+ var asr_ErrorList_errorLimitExceeded = ($this) => {
11782
+ return $this.$errorCount <= asr_ErrorList_getErrorLimit($this) ? 0 : 1;
11783
+ };
11784
+ var asr_ErrorList_getErrorLimit = ($this) => {
11785
+ asr_Globals_$callClinit();
11786
+ return asr_Globals_maximumErrorMessages;
11787
+ };
11788
+ var asr_ErrorList_generateReport = ($this, $isWarning) => {
11789
+ let $report, var$3, $m;
11790
+ $report = jl_StringBuilder__init_0($rt_s(3));
11791
+ var$3 = ju_AbstractList_iterator($this.$messages);
11792
+ while (ju_AbstractList$1_hasNext(var$3)) {
11793
+ a: {
11794
+ $m = ju_AbstractList$1_next(var$3);
11795
+ if (!($isWarning && $m.$isWarning)) {
11796
+ if ($isWarning)
11797
+ break a;
11798
+ if ($m.$isWarning)
11799
+ break a;
11800
+ }
11801
+ jl_AbstractStringBuilder_append1($report, asr_ErrorMessage_generateReport($m));
11802
+ }
11803
+ }
11804
+ return jl_AbstractStringBuilder_toString($report);
11805
+ };
11728
11806
  function asrrh_RegisterBlock() {
11729
11807
  let a = this;
11730
11808
  jl_Object.call(a);
@@ -11804,82 +11882,6 @@ var asrrh_RegisterBlock_resetRegisters = ($this) => {
11804
11882
  var$3 = var$3 + 1 | 0;
11805
11883
  }
11806
11884
  };
11807
- function asr_ErrorList() {
11808
- let a = this;
11809
- jl_Object.call(a);
11810
- a.$messages = null;
11811
- a.$errorCount = 0;
11812
- a.$warningCount = 0;
11813
- }
11814
- var asr_ErrorList__init_0 = ($this) => {
11815
- $this.$messages = ju_ArrayList__init_();
11816
- $this.$errorCount = 0;
11817
- $this.$warningCount = 0;
11818
- };
11819
- var asr_ErrorList__init_ = () => {
11820
- let var_0 = new asr_ErrorList();
11821
- asr_ErrorList__init_0(var_0);
11822
- return var_0;
11823
- };
11824
- var asr_ErrorList_errorsOccurred = ($this) => {
11825
- return !$this.$errorCount ? 0 : 1;
11826
- };
11827
- var asr_ErrorList_warningsOccurred = ($this) => {
11828
- return !$this.$warningCount ? 0 : 1;
11829
- };
11830
- var asr_ErrorList_add = ($this, $mess) => {
11831
- let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9;
11832
- var$2 = $this.$messages.$size0;
11833
- if ($this.$errorCount <= asr_ErrorList_getErrorLimit($this)) {
11834
- if ($this.$errorCount != asr_ErrorList_getErrorLimit($this)) {
11835
- ju_ArrayList_add0($this.$messages, var$2, $mess);
11836
- if (!$mess.$isWarning)
11837
- $this.$errorCount = $this.$errorCount + 1 | 0;
11838
- else
11839
- $this.$warningCount = $this.$warningCount + 1 | 0;
11840
- } else {
11841
- var$3 = $this.$messages;
11842
- var$4 = new asr_ErrorMessage();
11843
- var$5 = null;
11844
- var$2 = $mess.$line;
11845
- var$6 = $mess.$position2;
11846
- var$7 = asr_ErrorList_getErrorLimit($this);
11847
- var$8 = new jl_StringBuilder();
11848
- jl_AbstractStringBuilder__init_(var$8);
11849
- var$9 = jl_StringBuilder_append(var$8, $rt_s(1021));
11850
- jl_AbstractStringBuilder_append(var$9, var$7);
11851
- jl_StringBuilder_append(var$9, $rt_s(1022));
11852
- asr_ErrorMessage__init_(var$4, var$5, var$2, var$6, jl_AbstractStringBuilder_toString(var$8));
11853
- ju_ArrayList_add(var$3, var$4);
11854
- $this.$errorCount = $this.$errorCount + 1 | 0;
11855
- }
11856
- }
11857
- };
11858
- var asr_ErrorList_errorLimitExceeded = ($this) => {
11859
- return $this.$errorCount <= asr_ErrorList_getErrorLimit($this) ? 0 : 1;
11860
- };
11861
- var asr_ErrorList_getErrorLimit = ($this) => {
11862
- asr_Globals_$callClinit();
11863
- return asr_Globals_maximumErrorMessages;
11864
- };
11865
- var asr_ErrorList_generateReport = ($this, $isWarning) => {
11866
- let $report, var$3, $m;
11867
- $report = jl_StringBuilder__init_0($rt_s(3));
11868
- var$3 = ju_AbstractList_iterator($this.$messages);
11869
- while (ju_AbstractList$1_hasNext(var$3)) {
11870
- a: {
11871
- $m = ju_AbstractList$1_next(var$3);
11872
- if (!($isWarning && $m.$isWarning)) {
11873
- if ($isWarning)
11874
- break a;
11875
- if ($m.$isWarning)
11876
- break a;
11877
- }
11878
- jl_AbstractStringBuilder_append1($report, asr_ErrorMessage_generateReport($m));
11879
- }
11880
- }
11881
- return jl_AbstractStringBuilder_toString($report);
11882
- };
11883
11885
  function asrrh_StackFrame() {
11884
11886
  let a = this;
11885
11887
  jl_Object.call(a);
@@ -13482,6 +13484,22 @@ var jusi_StreamOverSpliterator_next = ($this, $consumer) => {
13482
13484
  var jusi_StreamOverSpliterator_estimateSize = ($this) => {
13483
13485
  return Long_lo(Long_fromInt($this.$spliterator0.$collection.$size()));
13484
13486
  };
13487
+ var jus_IntStream = $rt_classWithoutFields(0);
13488
+ var jusi_SimpleIntStreamImpl = $rt_classWithoutFields();
13489
+ function jusi_MappingToIntStreamImpl() {
13490
+ let a = this;
13491
+ jusi_SimpleIntStreamImpl.call(a);
13492
+ a.$source1 = null;
13493
+ a.$mapper0 = null;
13494
+ }
13495
+ var jusi_MappingToIntStreamImpl_next = ($this, $consumer) => {
13496
+ let var$2, var$3;
13497
+ var$2 = $this.$source1;
13498
+ var$3 = new jusi_MappingToIntStreamImpl$next$lambda$_1_0();
13499
+ var$3.$_09 = $this;
13500
+ var$3.$_13 = $consumer;
13501
+ return jusi_ArrayStreamImpl_next(var$2, var$3);
13502
+ };
13485
13503
  function jusi_WrappingStreamImpl() {
13486
13504
  jusi_SimpleStreamImpl.call(this);
13487
13505
  this.$sourceStream = null;
@@ -13503,22 +13521,6 @@ var jusi_MappingStreamImpl_wrap = ($this, $consumer) => {
13503
13521
  var$2.$_10 = $consumer;
13504
13522
  return var$2;
13505
13523
  };
13506
- var jus_IntStream = $rt_classWithoutFields(0);
13507
- var jusi_SimpleIntStreamImpl = $rt_classWithoutFields();
13508
- function jusi_MappingToIntStreamImpl() {
13509
- let a = this;
13510
- jusi_SimpleIntStreamImpl.call(a);
13511
- a.$source1 = null;
13512
- a.$mapper0 = null;
13513
- }
13514
- var jusi_MappingToIntStreamImpl_next = ($this, $consumer) => {
13515
- let var$2, var$3;
13516
- var$2 = $this.$source1;
13517
- var$3 = new jusi_MappingToIntStreamImpl$next$lambda$_1_0();
13518
- var$3.$_09 = $this;
13519
- var$3.$_13 = $consumer;
13520
- return jusi_ArrayStreamImpl_next(var$2, var$3);
13521
- };
13522
13524
  var asru_Binary = $rt_classWithoutFields();
13523
13525
  var asru_Binary_chars = null;
13524
13526
  var asru_Binary_intToBinaryString = ($value, $length) => {
@@ -15925,6 +15927,7 @@ var jl_Thread__clinit_ = () => {
15925
15927
  };
15926
15928
  var jl_IllegalStateException = $rt_classWithoutFields(jl_RuntimeException);
15927
15929
  var jl_IllegalMonitorStateException = $rt_classWithoutFields(jl_RuntimeException);
15930
+ var jl_NegativeArraySizeException = $rt_classWithoutFields(jl_RuntimeException);
15928
15931
  var otjc_JSObjects = $rt_classWithoutFields();
15929
15932
  var otji_JSWrapper$Helper = $rt_classWithoutFields();
15930
15933
  var otji_JSWrapper$Helper_hashCodes = null;
@@ -15960,7 +15963,6 @@ var otji_JSWrapper$Helper__clinit_ = () => {
15960
15963
  otji_JSWrapper$Helper_numberFinalizationRegistry = var$1;
15961
15964
  };
15962
15965
  var otjc_JSUndefined = $rt_classWithoutFields();
15963
- var jl_NegativeArraySizeException = $rt_classWithoutFields(jl_RuntimeException);
15964
15966
  function ju_Arrays$ArrayAsList() {
15965
15967
  ju_AbstractList.call(this);
15966
15968
  this.$array3 = null;
@@ -31214,222 +31216,6 @@ var asrjt_Floating = $rt_classWithoutFields();
31214
31216
  var asrjt_Floating_isFinite = ($this) => {
31215
31217
  return !$this.$isZero() && !$this.$isNormal() && !$this.$isSubnormal() ? 0 : 1;
31216
31218
  };
31217
- function asrjt_Float32() {
31218
- asrjt_Floating.call(this);
31219
- this.$bits0 = 0;
31220
- }
31221
- var asrjt_Float32_Zero = null;
31222
- var asrjt_Float32_NegativeZero = null;
31223
- var asrjt_Float32_NaN = null;
31224
- var asrjt_Float32_Infinity = null;
31225
- var asrjt_Float32_NegativeInfinity = null;
31226
- var asrjt_Float32_$assertionsDisabled = 0;
31227
- var asrjt_Float32__init_2 = ($this, $bits) => {
31228
- $this.$bits0 = $bits;
31229
- };
31230
- var asrjt_Float32__init_ = (var_0) => {
31231
- let var_1 = new asrjt_Float32();
31232
- asrjt_Float32__init_2(var_1, var_0);
31233
- return var_1;
31234
- };
31235
- var asrjt_Float32__init_1 = ($this, $sign, $exponent, $significand) => {
31236
- asrjt_Float32__init_2($this, (!$sign ? 0 : -2147483648) | (($exponent + 127 | 0) & 255) << 23 | $significand & 8388607);
31237
- };
31238
- var asrjt_Float32__init_0 = (var_0, var_1, var_2) => {
31239
- let var_3 = new asrjt_Float32();
31240
- asrjt_Float32__init_1(var_3, var_0, var_1, var_2);
31241
- return var_3;
31242
- };
31243
- var asrjt_Float32_exponent = ($this) => {
31244
- return (($this.$bits0 >>> 23 | 0) & 255) - 127 | 0;
31245
- };
31246
- var asrjt_Float32_negate = ($this) => {
31247
- return asrjt_Float32__init_($this.$bits0 ^ -2147483648);
31248
- };
31249
- var asrjt_Float32_isSignMinus = ($this) => {
31250
- return ($this.$bits0 >>> 31 | 0) != 1 ? 0 : 1;
31251
- };
31252
- var asrjt_Float32_isInfinite = ($this) => {
31253
- return asrjt_Float32_exponent($this) == 128 && !($this.$bits0 & 8388607) ? 1 : 0;
31254
- };
31255
- var asrjt_Float32_isNormal = ($this) => {
31256
- return asrjt_Float32_exponent($this) != -127 && asrjt_Float32_exponent($this) != 128 ? 1 : 0;
31257
- };
31258
- var asrjt_Float32_isSubnormal = ($this) => {
31259
- return asrjt_Float32_exponent($this) == -127 && !asrjt_Float32_isZero($this) ? 1 : 0;
31260
- };
31261
- var asrjt_Float32_isNaN = ($this) => {
31262
- return asrjt_Float32_exponent($this) == 128 && !asrjt_Float32_isInfinite($this) ? 1 : 0;
31263
- };
31264
- var asrjt_Float32_isSignalling = ($this) => {
31265
- if (!asrjt_Float32_isNaN($this))
31266
- return 0;
31267
- return $this.$bits0 & 4194304 ? 0 : 1;
31268
- };
31269
- var asrjt_Float32_isZero = ($this) => {
31270
- let var$1;
31271
- var$1 = $this.$bits0;
31272
- return var$1 && var$1 != -2147483648 ? 0 : 1;
31273
- };
31274
- var asrjt_Float32_fromExactFloat0 = ($this, $ef, $env) => {
31275
- let $normalizedExponent, $mainBits, $roundedBits, $a, $bitsToRound, $upBits, $towardsZero, $awayZero;
31276
- if (asrji_ExactFloat_isZero($ef))
31277
- return !$ef.$sign ? asrjt_Float32_Zero : asrjt_Float32_NegativeZero;
31278
- $ef = asrji_ExactFloat_normalize($ef);
31279
- $normalizedExponent = $ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0;
31280
- if ($normalizedExponent > -126) {
31281
- if ($normalizedExponent > 128) {
31282
- $mainBits = $env.$flags;
31283
- $roundedBits = asrj_Flags_overflow;
31284
- ju_GenericEnumSet_add($mainBits, $roundedBits);
31285
- $mainBits = $env.$flags;
31286
- $roundedBits = asrj_Flags_inexact;
31287
- ju_GenericEnumSet_add($mainBits, $roundedBits);
31288
- asrjt_Float32$1_$callClinit();
31289
- switch (asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode.data[jl_Enum_ordinal($env.$mode)]) {
31290
- case 1:
31291
- break;
31292
- case 2:
31293
- case 3:
31294
- $normalizedExponent = $ef.$sign;
31295
- if ($normalizedExponent == ($env.$mode !== asrj_RoundingMode_max ? 0 : 1))
31296
- return asrjt_Float32__init_0($normalizedExponent, 127, -1);
31297
- return !$normalizedExponent ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31298
- case 4:
31299
- case 5:
31300
- return !$ef.$sign ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31301
- default:
31302
- if (!asrjt_Float32_$assertionsDisabled)
31303
- $rt_throw(jl_AssertionError__init_($rt_s(1617)));
31304
- return !$ef.$sign ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31305
- }
31306
- return asrjt_Float32__init_0($ef.$sign, 127, -1);
31307
- }
31308
- if (jm_BigInteger_bitLength($ef.$significand) <= 24) {
31309
- if (!asrjt_Float32_$assertionsDisabled && (($ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0) - 1 | 0) <= -127)
31310
- $rt_throw(jl_AssertionError__init_($rt_s(1618)));
31311
- $a = new asrjt_Float32();
31312
- $normalizedExponent = $ef.$sign;
31313
- $bitsToRound = ($ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0) - 1 | 0;
31314
- $ef = $ef.$significand;
31315
- asrjt_Float32__init_1($a, $normalizedExponent, $bitsToRound, jm_BigInteger_intValueExact(jm_BigInteger_shiftLeft($ef, 24 - jm_BigInteger_bitLength($ef) | 0)) & 8388607);
31316
- return $a;
31317
- }
31318
- $mainBits = $env.$flags;
31319
- $roundedBits = asrj_Flags_inexact;
31320
- ju_GenericEnumSet_add($mainBits, $roundedBits);
31321
- $bitsToRound = jm_BigInteger_bitLength($ef.$significand) - 24 | 0;
31322
- $mainBits = jm_BigInteger_shiftLeft(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), $bitsToRound);
31323
- $roundedBits = jm_BigInteger_subtract($ef.$significand, $mainBits);
31324
- $upBits = jm_BigInteger_add(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), jm_BigInteger_valueOf(Long_fromInt(1)));
31325
- $towardsZero = asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 23 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound)) & 8388607);
31326
- $awayZero = !jm_BigInteger_testBit($upBits, 0) && jm_BigInteger_bitLength($upBits) > 24 ? asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 24 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($upBits, 1)) & 8388607) : asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 23 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact($upBits) & 8388607);
31327
- } else {
31328
- if ($ef.$exponent0 > -150) {
31329
- if (!asrjt_Float32_$assertionsDisabled && jm_BigInteger_bitLength($ef.$significand) > 23)
31330
- $rt_throw(jl_AssertionError__init_($rt_s(1619)));
31331
- return asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact(jm_BigInteger_shiftLeft($ef.$significand, 149 + $ef.$exponent0 | 0)));
31332
- }
31333
- $mainBits = $env.$flags;
31334
- $roundedBits = asrj_Flags_inexact;
31335
- ju_GenericEnumSet_add($mainBits, $roundedBits);
31336
- $mainBits = $env.$flags;
31337
- $roundedBits = asrj_Flags_underflow;
31338
- ju_GenericEnumSet_add($mainBits, $roundedBits);
31339
- $bitsToRound = -149 - $ef.$exponent0 | 0;
31340
- $mainBits = jm_BigInteger_shiftLeft(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), $bitsToRound);
31341
- $roundedBits = jm_BigInteger_subtract($ef.$significand, $mainBits);
31342
- $towardsZero = asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound)));
31343
- $upBits = jm_BigInteger_add(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), jm_BigInteger_valueOf(Long_fromInt(1)));
31344
- if (!jm_BigInteger_testBit($upBits, 0) && jm_BigInteger_bitLength($upBits) > 23)
31345
- $awayZero = asrjt_Float32__init_0($ef.$sign, -126, jm_BigInteger_intValueExact($upBits) & 8388607);
31346
- else {
31347
- if (!asrjt_Float32_$assertionsDisabled && jm_BigInteger_bitLength($upBits) > 23)
31348
- $rt_throw(jl_AssertionError__init_1());
31349
- $awayZero = asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact($upBits));
31350
- }
31351
- }
31352
- asrjt_Float32$1_$callClinit();
31353
- switch (asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode.data[jl_Enum_ordinal($env.$mode)]) {
31354
- case 1:
31355
- break;
31356
- case 2:
31357
- case 3:
31358
- if ($ef.$sign == ($env.$mode !== asrj_RoundingMode_max ? 0 : 1))
31359
- return $towardsZero;
31360
- return $awayZero;
31361
- default:
31362
- $ef = jm_BigInteger_ONE;
31363
- $normalizedExponent = $bitsToRound - 1 | 0;
31364
- if (!jm_BigInteger_equals($roundedBits, jm_BigInteger_shiftLeft($ef, $normalizedExponent))) {
31365
- if (jm_BigInteger_compareTo($roundedBits, jm_BigInteger_shiftLeft(jm_BigInteger_ONE, $normalizedExponent)) <= 0)
31366
- return $towardsZero;
31367
- return $awayZero;
31368
- }
31369
- if ($env.$mode !== asrj_RoundingMode_away && $awayZero.$bits0 & 1)
31370
- return $towardsZero;
31371
- return $awayZero;
31372
- }
31373
- return $towardsZero;
31374
- };
31375
- var asrjt_Float32_toExactFloat = ($this) => {
31376
- let $sign, $exponent, $significand;
31377
- if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isInfinite($this))
31378
- $rt_throw(jl_AssertionError__init_($rt_s(1620)));
31379
- if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isNaN($this))
31380
- $rt_throw(jl_AssertionError__init_($rt_s(1621)));
31381
- if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isZero($this))
31382
- $rt_throw(jl_AssertionError__init_($rt_s(1622)));
31383
- $sign = asrjt_Float32_isSignMinus($this);
31384
- if (asrjt_Float32_isZero($this)) {
31385
- $exponent = 0;
31386
- $significand = jm_BigInteger_ZERO;
31387
- } else if (asrjt_Float32_isNormal($this)) {
31388
- $exponent = asrjt_Float32_exponent($this) - 23 | 0;
31389
- $significand = jm_BigInteger_valueOf(Long_fromInt(($this.$bits0 & 8388607) + 8388608 | 0));
31390
- } else {
31391
- if (!asrjt_Float32_isSubnormal($this)) {
31392
- if (asrjt_Float32_$assertionsDisabled)
31393
- return null;
31394
- $rt_throw(jl_AssertionError__init_($rt_s(1623)));
31395
- }
31396
- $exponent = asrjt_Float32_exponent($this) - 22 | 0;
31397
- $significand = jm_BigInteger_valueOf(Long_fromInt($this.$bits0 & 8388607));
31398
- }
31399
- return asrji_ExactFloat__init_($sign, $exponent, $significand);
31400
- };
31401
- var asrjt_Float32_maxPrecision = ($this) => {
31402
- return 30;
31403
- };
31404
- var asrjt_Float32_negate0 = ($this) => {
31405
- return asrjt_Float32_negate($this);
31406
- };
31407
- var asrjt_Float32_fromExactFloat = ($this, var$1, var$2) => {
31408
- return asrjt_Float32_fromExactFloat0($this, var$1, var$2);
31409
- };
31410
- var asrjt_Float32_NegativeInfinity0 = ($this) => {
31411
- return asrjt_Float32_NegativeInfinity;
31412
- };
31413
- var asrjt_Float32_Infinity0 = ($this) => {
31414
- return asrjt_Float32_Infinity;
31415
- };
31416
- var asrjt_Float32_NegativeZero0 = ($this) => {
31417
- return asrjt_Float32_NegativeZero;
31418
- };
31419
- var asrjt_Float32_Zero0 = ($this) => {
31420
- return asrjt_Float32_Zero;
31421
- };
31422
- var asrjt_Float32_NaN0 = ($this) => {
31423
- return asrjt_Float32_NaN;
31424
- };
31425
- var asrjt_Float32__clinit_ = () => {
31426
- asrjt_Float32_$assertionsDisabled = 0;
31427
- asrjt_Float32_Zero = asrjt_Float32__init_(0);
31428
- asrjt_Float32_NegativeZero = asrjt_Float32__init_(-2147483648);
31429
- asrjt_Float32_NaN = asrjt_Float32__init_(2143289344);
31430
- asrjt_Float32_Infinity = asrjt_Float32__init_(2139095040);
31431
- asrjt_Float32_NegativeInfinity = asrjt_Float32__init_(-8388608);
31432
- };
31433
31219
  function asrjt_Float64() {
31434
31220
  asrjt_Floating.call(this);
31435
31221
  this.$bits1 = Long_ZERO;
@@ -31646,107 +31432,221 @@ var asrjt_Float64__clinit_ = () => {
31646
31432
  asrjt_Float64_Infinity = asrjt_Float64__init_(Long_create(0, 2146435072));
31647
31433
  asrjt_Float64_NegativeInfinity = asrjt_Float64__init_(Long_create(0, 4293918720));
31648
31434
  };
31649
- var asrjo_Comparisons = $rt_classWithoutFields();
31650
- var asrjo_Comparisons_compareNoNAN = ($a, $b) => {
31651
- if ($a.$isZero()) {
31652
- if ($b.$isZero())
31653
- return 0;
31654
- return !$b.$isSignMinus() ? -1 : 1;
31655
- }
31656
- if ($b.$isZero())
31657
- return !$a.$isSignMinus() ? 1 : -1;
31658
- if (!$a.$isInfinite()) {
31659
- if (!$b.$isInfinite())
31660
- return asrji_ExactFloat_compareTo($a.$toExactFloat(), $b.$toExactFloat());
31661
- return !$b.$isSignMinus() ? -1 : 1;
31662
- }
31663
- if ($b.$isInfinite() && $a.$isSignMinus() == $b.$isSignMinus())
31435
+ function asrjt_Float32() {
31436
+ asrjt_Floating.call(this);
31437
+ this.$bits0 = 0;
31438
+ }
31439
+ var asrjt_Float32_Zero = null;
31440
+ var asrjt_Float32_NegativeZero = null;
31441
+ var asrjt_Float32_NaN = null;
31442
+ var asrjt_Float32_Infinity = null;
31443
+ var asrjt_Float32_NegativeInfinity = null;
31444
+ var asrjt_Float32_$assertionsDisabled = 0;
31445
+ var asrjt_Float32__init_2 = ($this, $bits) => {
31446
+ $this.$bits0 = $bits;
31447
+ };
31448
+ var asrjt_Float32__init_ = (var_0) => {
31449
+ let var_1 = new asrjt_Float32();
31450
+ asrjt_Float32__init_2(var_1, var_0);
31451
+ return var_1;
31452
+ };
31453
+ var asrjt_Float32__init_1 = ($this, $sign, $exponent, $significand) => {
31454
+ asrjt_Float32__init_2($this, (!$sign ? 0 : -2147483648) | (($exponent + 127 | 0) & 255) << 23 | $significand & 8388607);
31455
+ };
31456
+ var asrjt_Float32__init_0 = (var_0, var_1, var_2) => {
31457
+ let var_3 = new asrjt_Float32();
31458
+ asrjt_Float32__init_1(var_3, var_0, var_1, var_2);
31459
+ return var_3;
31460
+ };
31461
+ var asrjt_Float32_exponent = ($this) => {
31462
+ return (($this.$bits0 >>> 23 | 0) & 255) - 127 | 0;
31463
+ };
31464
+ var asrjt_Float32_negate = ($this) => {
31465
+ return asrjt_Float32__init_($this.$bits0 ^ -2147483648);
31466
+ };
31467
+ var asrjt_Float32_isSignMinus = ($this) => {
31468
+ return ($this.$bits0 >>> 31 | 0) != 1 ? 0 : 1;
31469
+ };
31470
+ var asrjt_Float32_isInfinite = ($this) => {
31471
+ return asrjt_Float32_exponent($this) == 128 && !($this.$bits0 & 8388607) ? 1 : 0;
31472
+ };
31473
+ var asrjt_Float32_isNormal = ($this) => {
31474
+ return asrjt_Float32_exponent($this) != -127 && asrjt_Float32_exponent($this) != 128 ? 1 : 0;
31475
+ };
31476
+ var asrjt_Float32_isSubnormal = ($this) => {
31477
+ return asrjt_Float32_exponent($this) == -127 && !asrjt_Float32_isZero($this) ? 1 : 0;
31478
+ };
31479
+ var asrjt_Float32_isNaN = ($this) => {
31480
+ return asrjt_Float32_exponent($this) == 128 && !asrjt_Float32_isInfinite($this) ? 1 : 0;
31481
+ };
31482
+ var asrjt_Float32_isSignalling = ($this) => {
31483
+ if (!asrjt_Float32_isNaN($this))
31664
31484
  return 0;
31665
- return !$a.$isSignMinus() ? -1 : 1;
31485
+ return $this.$bits0 & 4194304 ? 0 : 1;
31666
31486
  };
31667
- var asrjo_Comparisons_nonNaNmin = ($a, $b) => {
31668
- if ($a.$isSignMinus() != $b.$isSignMinus()) {
31669
- if ($a.$isSignMinus())
31670
- $b = $a;
31671
- return $b;
31487
+ var asrjt_Float32_isZero = ($this) => {
31488
+ let var$1;
31489
+ var$1 = $this.$bits0;
31490
+ return var$1 && var$1 != -2147483648 ? 0 : 1;
31491
+ };
31492
+ var asrjt_Float32_fromExactFloat0 = ($this, $ef, $env) => {
31493
+ let $normalizedExponent, $mainBits, $roundedBits, $a, $bitsToRound, $upBits, $towardsZero, $awayZero;
31494
+ if (asrji_ExactFloat_isZero($ef))
31495
+ return !$ef.$sign ? asrjt_Float32_Zero : asrjt_Float32_NegativeZero;
31496
+ $ef = asrji_ExactFloat_normalize($ef);
31497
+ $normalizedExponent = $ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0;
31498
+ if ($normalizedExponent > -126) {
31499
+ if ($normalizedExponent > 128) {
31500
+ $mainBits = $env.$flags;
31501
+ $roundedBits = asrj_Flags_overflow;
31502
+ ju_GenericEnumSet_add($mainBits, $roundedBits);
31503
+ $mainBits = $env.$flags;
31504
+ $roundedBits = asrj_Flags_inexact;
31505
+ ju_GenericEnumSet_add($mainBits, $roundedBits);
31506
+ asrjt_Float32$1_$callClinit();
31507
+ switch (asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode.data[jl_Enum_ordinal($env.$mode)]) {
31508
+ case 1:
31509
+ break;
31510
+ case 2:
31511
+ case 3:
31512
+ $normalizedExponent = $ef.$sign;
31513
+ if ($normalizedExponent == ($env.$mode !== asrj_RoundingMode_max ? 0 : 1))
31514
+ return asrjt_Float32__init_0($normalizedExponent, 127, -1);
31515
+ return !$normalizedExponent ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31516
+ case 4:
31517
+ case 5:
31518
+ return !$ef.$sign ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31519
+ default:
31520
+ if (!asrjt_Float32_$assertionsDisabled)
31521
+ $rt_throw(jl_AssertionError__init_($rt_s(1617)));
31522
+ return !$ef.$sign ? asrjt_Float32_Infinity : asrjt_Float32_NegativeInfinity;
31523
+ }
31524
+ return asrjt_Float32__init_0($ef.$sign, 127, -1);
31525
+ }
31526
+ if (jm_BigInteger_bitLength($ef.$significand) <= 24) {
31527
+ if (!asrjt_Float32_$assertionsDisabled && (($ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0) - 1 | 0) <= -127)
31528
+ $rt_throw(jl_AssertionError__init_($rt_s(1618)));
31529
+ $a = new asrjt_Float32();
31530
+ $normalizedExponent = $ef.$sign;
31531
+ $bitsToRound = ($ef.$exponent0 + jm_BigInteger_bitLength($ef.$significand) | 0) - 1 | 0;
31532
+ $ef = $ef.$significand;
31533
+ asrjt_Float32__init_1($a, $normalizedExponent, $bitsToRound, jm_BigInteger_intValueExact(jm_BigInteger_shiftLeft($ef, 24 - jm_BigInteger_bitLength($ef) | 0)) & 8388607);
31534
+ return $a;
31535
+ }
31536
+ $mainBits = $env.$flags;
31537
+ $roundedBits = asrj_Flags_inexact;
31538
+ ju_GenericEnumSet_add($mainBits, $roundedBits);
31539
+ $bitsToRound = jm_BigInteger_bitLength($ef.$significand) - 24 | 0;
31540
+ $mainBits = jm_BigInteger_shiftLeft(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), $bitsToRound);
31541
+ $roundedBits = jm_BigInteger_subtract($ef.$significand, $mainBits);
31542
+ $upBits = jm_BigInteger_add(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), jm_BigInteger_valueOf(Long_fromInt(1)));
31543
+ $towardsZero = asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 23 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound)) & 8388607);
31544
+ $awayZero = !jm_BigInteger_testBit($upBits, 0) && jm_BigInteger_bitLength($upBits) > 24 ? asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 24 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($upBits, 1)) & 8388607) : asrjt_Float32__init_0($ef.$sign, ($ef.$exponent0 + 23 | 0) + $bitsToRound | 0, jm_BigInteger_intValueExact($upBits) & 8388607);
31545
+ } else {
31546
+ if ($ef.$exponent0 > -150) {
31547
+ if (!asrjt_Float32_$assertionsDisabled && jm_BigInteger_bitLength($ef.$significand) > 23)
31548
+ $rt_throw(jl_AssertionError__init_($rt_s(1619)));
31549
+ return asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact(jm_BigInteger_shiftLeft($ef.$significand, 149 + $ef.$exponent0 | 0)));
31550
+ }
31551
+ $mainBits = $env.$flags;
31552
+ $roundedBits = asrj_Flags_inexact;
31553
+ ju_GenericEnumSet_add($mainBits, $roundedBits);
31554
+ $mainBits = $env.$flags;
31555
+ $roundedBits = asrj_Flags_underflow;
31556
+ ju_GenericEnumSet_add($mainBits, $roundedBits);
31557
+ $bitsToRound = -149 - $ef.$exponent0 | 0;
31558
+ $mainBits = jm_BigInteger_shiftLeft(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), $bitsToRound);
31559
+ $roundedBits = jm_BigInteger_subtract($ef.$significand, $mainBits);
31560
+ $towardsZero = asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound)));
31561
+ $upBits = jm_BigInteger_add(jm_BigInteger_shiftRight($ef.$significand, $bitsToRound), jm_BigInteger_valueOf(Long_fromInt(1)));
31562
+ if (!jm_BigInteger_testBit($upBits, 0) && jm_BigInteger_bitLength($upBits) > 23)
31563
+ $awayZero = asrjt_Float32__init_0($ef.$sign, -126, jm_BigInteger_intValueExact($upBits) & 8388607);
31564
+ else {
31565
+ if (!asrjt_Float32_$assertionsDisabled && jm_BigInteger_bitLength($upBits) > 23)
31566
+ $rt_throw(jl_AssertionError__init_1());
31567
+ $awayZero = asrjt_Float32__init_0($ef.$sign, -127, jm_BigInteger_intValueExact($upBits));
31568
+ }
31672
31569
  }
31673
- if (!$a.$isInfinite() && !$b.$isInfinite()) {
31674
- if (asrjo_Comparisons_compareNoNAN($a, $b) > 0)
31675
- return $b;
31676
- return $a;
31570
+ asrjt_Float32$1_$callClinit();
31571
+ switch (asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode.data[jl_Enum_ordinal($env.$mode)]) {
31572
+ case 1:
31573
+ break;
31574
+ case 2:
31575
+ case 3:
31576
+ if ($ef.$sign == ($env.$mode !== asrj_RoundingMode_max ? 0 : 1))
31577
+ return $towardsZero;
31578
+ return $awayZero;
31579
+ default:
31580
+ $ef = jm_BigInteger_ONE;
31581
+ $normalizedExponent = $bitsToRound - 1 | 0;
31582
+ if (!jm_BigInteger_equals($roundedBits, jm_BigInteger_shiftLeft($ef, $normalizedExponent))) {
31583
+ if (jm_BigInteger_compareTo($roundedBits, jm_BigInteger_shiftLeft(jm_BigInteger_ONE, $normalizedExponent)) <= 0)
31584
+ return $towardsZero;
31585
+ return $awayZero;
31586
+ }
31587
+ if ($env.$mode !== asrj_RoundingMode_away && $awayZero.$bits0 & 1)
31588
+ return $towardsZero;
31589
+ return $awayZero;
31677
31590
  }
31678
- if ($a.$isInfinite() != $a.$isSignMinus())
31679
- return $b;
31680
- return $a;
31591
+ return $towardsZero;
31681
31592
  };
31682
- var asrjo_Comparisons_handleNaNNumber = ($a, $b, $env) => {
31683
- let var$4;
31684
- if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
31685
- var$4 = $env.$flags;
31686
- $env = asrj_Flags_invalid;
31687
- ju_GenericEnumSet_add(var$4, $env);
31593
+ var asrjt_Float32_toExactFloat = ($this) => {
31594
+ let $sign, $exponent, $significand;
31595
+ if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isInfinite($this))
31596
+ $rt_throw(jl_AssertionError__init_($rt_s(1620)));
31597
+ if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isNaN($this))
31598
+ $rt_throw(jl_AssertionError__init_($rt_s(1621)));
31599
+ if (!asrjt_Float32_$assertionsDisabled && asrjt_Float32_isZero($this))
31600
+ $rt_throw(jl_AssertionError__init_($rt_s(1622)));
31601
+ $sign = asrjt_Float32_isSignMinus($this);
31602
+ if (asrjt_Float32_isZero($this)) {
31603
+ $exponent = 0;
31604
+ $significand = jm_BigInteger_ZERO;
31605
+ } else if (asrjt_Float32_isNormal($this)) {
31606
+ $exponent = asrjt_Float32_exponent($this) - 23 | 0;
31607
+ $significand = jm_BigInteger_valueOf(Long_fromInt(($this.$bits0 & 8388607) + 8388608 | 0));
31608
+ } else {
31609
+ if (!asrjt_Float32_isSubnormal($this)) {
31610
+ if (asrjt_Float32_$assertionsDisabled)
31611
+ return null;
31612
+ $rt_throw(jl_AssertionError__init_($rt_s(1623)));
31613
+ }
31614
+ $exponent = asrjt_Float32_exponent($this) - 22 | 0;
31615
+ $significand = jm_BigInteger_valueOf(Long_fromInt($this.$bits0 & 8388607));
31688
31616
  }
31689
- if ($a.$isNaN()) {
31690
- if ($b.$isNaN())
31691
- $b = $b.$NaN();
31692
- } else
31693
- $b = !$b.$isNaN() ? null : $a;
31694
- return $b;
31617
+ return asrji_ExactFloat__init_($sign, $exponent, $significand);
31695
31618
  };
31696
- var asrjo_Comparisons_minimumNumber = ($a, $b, $env) => {
31697
- let $tmp_0;
31698
- $tmp_0 = asrjo_Comparisons_handleNaNNumber($a, $b, $env);
31699
- if ($tmp_0 !== null)
31700
- return $tmp_0;
31701
- return asrjo_Comparisons_nonNaNmin($a, $b);
31619
+ var asrjt_Float32_maxPrecision = ($this) => {
31620
+ return 30;
31702
31621
  };
31703
- var asrjo_Comparisons_maximumNumber = ($a, $b, $env) => {
31704
- let $tmp_0;
31705
- $tmp_0 = asrjo_Comparisons_handleNaNNumber($a, $b, $env);
31706
- if ($tmp_0 !== null)
31707
- return $tmp_0;
31708
- if ($a === asrjo_Comparisons_nonNaNmin($a, $b))
31709
- $a = $b;
31710
- return $a;
31622
+ var asrjt_Float32_negate0 = ($this) => {
31623
+ return asrjt_Float32_negate($this);
31711
31624
  };
31712
- var asrjo_Comparisons_compareQuietEqual = ($a, $b, $env) => {
31713
- let var$4;
31714
- if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
31715
- var$4 = $env.$flags;
31716
- $env = asrj_Flags_invalid;
31717
- ju_GenericEnumSet_add(var$4, $env);
31718
- }
31719
- if (!$a.$isNaN() && !$b.$isNaN())
31720
- return asrjo_Comparisons_compareNoNAN($a, $b) ? 0 : 1;
31721
- return 0;
31625
+ var asrjt_Float32_fromExactFloat = ($this, var$1, var$2) => {
31626
+ return asrjt_Float32_fromExactFloat0($this, var$1, var$2);
31722
31627
  };
31723
- var asrjo_Comparisons_compareSignalingLessThan = ($a, $b, $env) => {
31724
- let var$4, var$5;
31725
- if (!(!$a.$isNaN() && !$b.$isNaN())) {
31726
- var$4 = $env.$flags;
31727
- var$5 = asrj_Flags_invalid;
31728
- ju_GenericEnumSet_add(var$4, var$5);
31729
- }
31730
- if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
31731
- var$5 = $env.$flags;
31732
- $env = asrj_Flags_invalid;
31733
- ju_GenericEnumSet_add(var$5, $env);
31734
- }
31735
- return !$a.$isNaN() && !$b.$isNaN() ? asrjo_Comparisons_compareNoNAN($a, $b) >= 0 ? 0 : 1 : 0;
31628
+ var asrjt_Float32_NegativeInfinity0 = ($this) => {
31629
+ return asrjt_Float32_NegativeInfinity;
31736
31630
  };
31737
- var asrjo_Comparisons_compareSignalingLessThanEqual = ($a, $b, $env) => {
31738
- let var$4, var$5;
31739
- if (!(!$a.$isNaN() && !$b.$isNaN())) {
31740
- var$4 = $env.$flags;
31741
- var$5 = asrj_Flags_invalid;
31742
- ju_GenericEnumSet_add(var$4, var$5);
31743
- }
31744
- if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
31745
- var$5 = $env.$flags;
31746
- $env = asrj_Flags_invalid;
31747
- ju_GenericEnumSet_add(var$5, $env);
31748
- }
31749
- return !$a.$isNaN() && !$b.$isNaN() ? asrjo_Comparisons_compareNoNAN($a, $b) > 0 ? 0 : 1 : 0;
31631
+ var asrjt_Float32_Infinity0 = ($this) => {
31632
+ return asrjt_Float32_Infinity;
31633
+ };
31634
+ var asrjt_Float32_NegativeZero0 = ($this) => {
31635
+ return asrjt_Float32_NegativeZero;
31636
+ };
31637
+ var asrjt_Float32_Zero0 = ($this) => {
31638
+ return asrjt_Float32_Zero;
31639
+ };
31640
+ var asrjt_Float32_NaN0 = ($this) => {
31641
+ return asrjt_Float32_NaN;
31642
+ };
31643
+ var asrjt_Float32__clinit_ = () => {
31644
+ asrjt_Float32_$assertionsDisabled = 0;
31645
+ asrjt_Float32_Zero = asrjt_Float32__init_(0);
31646
+ asrjt_Float32_NegativeZero = asrjt_Float32__init_(-2147483648);
31647
+ asrjt_Float32_NaN = asrjt_Float32__init_(2143289344);
31648
+ asrjt_Float32_Infinity = asrjt_Float32__init_(2139095040);
31649
+ asrjt_Float32_NegativeInfinity = asrjt_Float32__init_(-8388608);
31750
31650
  };
31751
31651
  function jm_BigInteger() {
31752
31652
  let a = this;
@@ -32225,6 +32125,108 @@ var asrjo_Conversions_convertFromInt = ($i, $env, $helper) => {
32225
32125
  var$4.$significand = $i;
32226
32126
  return $helper.$fromExactFloat(var$4, $env);
32227
32127
  };
32128
+ var asrjo_Comparisons = $rt_classWithoutFields();
32129
+ var asrjo_Comparisons_compareNoNAN = ($a, $b) => {
32130
+ if ($a.$isZero()) {
32131
+ if ($b.$isZero())
32132
+ return 0;
32133
+ return !$b.$isSignMinus() ? -1 : 1;
32134
+ }
32135
+ if ($b.$isZero())
32136
+ return !$a.$isSignMinus() ? 1 : -1;
32137
+ if (!$a.$isInfinite()) {
32138
+ if (!$b.$isInfinite())
32139
+ return asrji_ExactFloat_compareTo($a.$toExactFloat(), $b.$toExactFloat());
32140
+ return !$b.$isSignMinus() ? -1 : 1;
32141
+ }
32142
+ if ($b.$isInfinite() && $a.$isSignMinus() == $b.$isSignMinus())
32143
+ return 0;
32144
+ return !$a.$isSignMinus() ? -1 : 1;
32145
+ };
32146
+ var asrjo_Comparisons_nonNaNmin = ($a, $b) => {
32147
+ if ($a.$isSignMinus() != $b.$isSignMinus()) {
32148
+ if ($a.$isSignMinus())
32149
+ $b = $a;
32150
+ return $b;
32151
+ }
32152
+ if (!$a.$isInfinite() && !$b.$isInfinite()) {
32153
+ if (asrjo_Comparisons_compareNoNAN($a, $b) > 0)
32154
+ return $b;
32155
+ return $a;
32156
+ }
32157
+ if ($a.$isInfinite() != $a.$isSignMinus())
32158
+ return $b;
32159
+ return $a;
32160
+ };
32161
+ var asrjo_Comparisons_handleNaNNumber = ($a, $b, $env) => {
32162
+ let var$4;
32163
+ if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
32164
+ var$4 = $env.$flags;
32165
+ $env = asrj_Flags_invalid;
32166
+ ju_GenericEnumSet_add(var$4, $env);
32167
+ }
32168
+ if ($a.$isNaN()) {
32169
+ if ($b.$isNaN())
32170
+ $b = $b.$NaN();
32171
+ } else
32172
+ $b = !$b.$isNaN() ? null : $a;
32173
+ return $b;
32174
+ };
32175
+ var asrjo_Comparisons_minimumNumber = ($a, $b, $env) => {
32176
+ let $tmp_0;
32177
+ $tmp_0 = asrjo_Comparisons_handleNaNNumber($a, $b, $env);
32178
+ if ($tmp_0 !== null)
32179
+ return $tmp_0;
32180
+ return asrjo_Comparisons_nonNaNmin($a, $b);
32181
+ };
32182
+ var asrjo_Comparisons_maximumNumber = ($a, $b, $env) => {
32183
+ let $tmp_0;
32184
+ $tmp_0 = asrjo_Comparisons_handleNaNNumber($a, $b, $env);
32185
+ if ($tmp_0 !== null)
32186
+ return $tmp_0;
32187
+ if ($a === asrjo_Comparisons_nonNaNmin($a, $b))
32188
+ $a = $b;
32189
+ return $a;
32190
+ };
32191
+ var asrjo_Comparisons_compareQuietEqual = ($a, $b, $env) => {
32192
+ let var$4;
32193
+ if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
32194
+ var$4 = $env.$flags;
32195
+ $env = asrj_Flags_invalid;
32196
+ ju_GenericEnumSet_add(var$4, $env);
32197
+ }
32198
+ if (!$a.$isNaN() && !$b.$isNaN())
32199
+ return asrjo_Comparisons_compareNoNAN($a, $b) ? 0 : 1;
32200
+ return 0;
32201
+ };
32202
+ var asrjo_Comparisons_compareSignalingLessThan = ($a, $b, $env) => {
32203
+ let var$4, var$5;
32204
+ if (!(!$a.$isNaN() && !$b.$isNaN())) {
32205
+ var$4 = $env.$flags;
32206
+ var$5 = asrj_Flags_invalid;
32207
+ ju_GenericEnumSet_add(var$4, var$5);
32208
+ }
32209
+ if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
32210
+ var$5 = $env.$flags;
32211
+ $env = asrj_Flags_invalid;
32212
+ ju_GenericEnumSet_add(var$5, $env);
32213
+ }
32214
+ return !$a.$isNaN() && !$b.$isNaN() ? asrjo_Comparisons_compareNoNAN($a, $b) >= 0 ? 0 : 1 : 0;
32215
+ };
32216
+ var asrjo_Comparisons_compareSignalingLessThanEqual = ($a, $b, $env) => {
32217
+ let var$4, var$5;
32218
+ if (!(!$a.$isNaN() && !$b.$isNaN())) {
32219
+ var$4 = $env.$flags;
32220
+ var$5 = asrj_Flags_invalid;
32221
+ ju_GenericEnumSet_add(var$4, var$5);
32222
+ }
32223
+ if (!(!$a.$isSignalling() && !$b.$isSignalling())) {
32224
+ var$5 = $env.$flags;
32225
+ $env = asrj_Flags_invalid;
32226
+ ju_GenericEnumSet_add(var$5, $env);
32227
+ }
32228
+ return !$a.$isNaN() && !$b.$isNaN() ? asrjo_Comparisons_compareNoNAN($a, $b) > 0 ? 0 : 1 : 0;
32229
+ };
32228
32230
  var asrjo_Arithmetic = $rt_classWithoutFields();
32229
32231
  var asrjo_Arithmetic_$assertionsDisabled = 0;
32230
32232
  var asrjo_Arithmetic_add = ($a, $b, $env) => {
@@ -33819,34 +33821,34 @@ function ju_Hashtable$Entry() {
33819
33821
  var ju_Hashtable$Entry_equalsKey = ($this, $aKey, $hash) => {
33820
33822
  return $this.$hashcode == jl_String_hashCode($aKey) && $this.$key.$equals($aKey) ? 1 : 0;
33821
33823
  };
33822
- var asrjt_Float32$1 = $rt_classWithoutFields();
33823
- var asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = null;
33824
- var asrjt_Float32$1_$callClinit = () => {
33825
- asrjt_Float32$1_$callClinit = $rt_eraseClinit(asrjt_Float32$1);
33826
- asrjt_Float32$1__clinit_();
33824
+ var asrjt_Float64$1 = $rt_classWithoutFields();
33825
+ var asrjt_Float64$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = null;
33826
+ var asrjt_Float64$1_$callClinit = () => {
33827
+ asrjt_Float64$1_$callClinit = $rt_eraseClinit(asrjt_Float64$1);
33828
+ asrjt_Float64$1__clinit_();
33827
33829
  };
33828
- var asrjt_Float32$1__clinit_ = () => {
33830
+ var asrjt_Float64$1__clinit_ = () => {
33829
33831
  let var$1, var$2;
33830
33832
  var$1 = $rt_createIntArray(asrj_RoundingMode_values().data.length);
33831
33833
  var$2 = var$1.data;
33832
- asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = var$1;
33834
+ asrjt_Float64$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = var$1;
33833
33835
  var$2[asrj_RoundingMode_zero.$ordinal0] = 1;
33834
33836
  var$2[asrj_RoundingMode_min.$ordinal0] = 2;
33835
33837
  var$2[asrj_RoundingMode_max.$ordinal0] = 3;
33836
33838
  var$2[asrj_RoundingMode_away.$ordinal0] = 4;
33837
33839
  var$2[asrj_RoundingMode_even.$ordinal0] = 5;
33838
33840
  };
33839
- var asrjt_Float64$1 = $rt_classWithoutFields();
33840
- var asrjt_Float64$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = null;
33841
- var asrjt_Float64$1_$callClinit = () => {
33842
- asrjt_Float64$1_$callClinit = $rt_eraseClinit(asrjt_Float64$1);
33843
- asrjt_Float64$1__clinit_();
33841
+ var asrjt_Float32$1 = $rt_classWithoutFields();
33842
+ var asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = null;
33843
+ var asrjt_Float32$1_$callClinit = () => {
33844
+ asrjt_Float32$1_$callClinit = $rt_eraseClinit(asrjt_Float32$1);
33845
+ asrjt_Float32$1__clinit_();
33844
33846
  };
33845
- var asrjt_Float64$1__clinit_ = () => {
33847
+ var asrjt_Float32$1__clinit_ = () => {
33846
33848
  let var$1, var$2;
33847
33849
  var$1 = $rt_createIntArray(asrj_RoundingMode_values().data.length);
33848
33850
  var$2 = var$1.data;
33849
- asrjt_Float64$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = var$1;
33851
+ asrjt_Float32$1_$SwitchMap$app$specy$rars$jsoftfloat$RoundingMode = var$1;
33850
33852
  var$2[asrj_RoundingMode_zero.$ordinal0] = 1;
33851
33853
  var$2[asrj_RoundingMode_min.$ordinal0] = 2;
33852
33854
  var$2[asrj_RoundingMode_max.$ordinal0] = 3;
@@ -34986,17 +34988,8 @@ $rt_metadata([
34986
34988
  0,
34987
34989
  0,
34988
34990
  0,
34989
- asrrh_RegisterFile,
34990
- 0,
34991
- jl_Object,
34992
- [],
34993
- 0,
34994
- 3,
34995
- 0,
34996
- asrrh_RegisterFile_$callClinit,
34997
- 0,
34998
- asr_JsProgramStatement,
34999
- "JsProgramStatement",
34991
+ asr_JsCompilationResult,
34992
+ "JsCompilationResult",
35000
34993
  10,
35001
34994
  jl_Object,
35002
34995
  [],
@@ -35005,36 +34998,36 @@ $rt_metadata([
35005
34998
  0,
35006
34999
  0,
35007
35000
  0,
35008
- ju_Arrays,
35001
+ asr_AssemblyException,
35009
35002
  0,
35010
- jl_Object,
35003
+ jl_Exception,
35011
35004
  [],
35012
35005
  0,
35013
35006
  3,
35014
35007
  0,
35015
35008
  0,
35016
35009
  0,
35017
- asr_JsRiscV$getUndoStack$lambda$_21_0,
35018
- 0,
35010
+ asr_JsProgramStatement,
35011
+ "JsProgramStatement",
35012
+ 10,
35019
35013
  jl_Object,
35020
- [juf_Function],
35014
+ [],
35021
35015
  0,
35022
35016
  3,
35023
35017
  0,
35024
35018
  0,
35025
- ["$apply0", $rt_wrapFunction1(asr_JsRiscV$getUndoStack$lambda$_21_0_apply)],
35026
- asr_JsRiscV$getUndoStack$lambda$_21_1,
35019
+ 0,
35020
+ asrrh_RegisterFile,
35027
35021
  0,
35028
35022
  jl_Object,
35029
- [juf_IntFunction],
35023
+ [],
35030
35024
  0,
35031
35025
  3,
35032
35026
  0,
35027
+ asrrh_RegisterFile_$callClinit,
35028
+ 0,
35029
+ ju_Arrays,
35033
35030
  0,
35034
- ["$apply", $rt_wrapFunction1(asr_JsRiscV$getUndoStack$lambda$_21_1_apply)],
35035
- asr_JsBackStep,
35036
- "JsBackStep",
35037
- 10,
35038
35031
  jl_Object,
35039
35032
  [],
35040
35033
  0,
@@ -35042,45 +35035,44 @@ $rt_metadata([
35042
35035
  0,
35043
35036
  0,
35044
35037
  0,
35045
- asr_JsCompilationResult,
35046
- "JsCompilationResult",
35047
- 10,
35038
+ juf_ToIntFunction,
35039
+ 0,
35048
35040
  jl_Object,
35049
35041
  [],
35050
- 0,
35042
+ 3,
35051
35043
  3,
35052
35044
  0,
35053
35045
  0,
35054
35046
  0,
35055
- asr_AssemblyException,
35047
+ asr_JsRiscV$getRegistersValues$lambda$_20_0,
35056
35048
  0,
35057
- jl_Exception,
35058
- [],
35049
+ jl_Object,
35050
+ [juf_ToIntFunction],
35059
35051
  0,
35060
35052
  3,
35061
35053
  0,
35062
35054
  0,
35063
35055
  0,
35064
- juf_ToIntFunction,
35056
+ asr_JsRiscV$getUndoStack$lambda$_21_0,
35065
35057
  0,
35066
35058
  jl_Object,
35067
- [],
35068
- 3,
35069
- 3,
35059
+ [juf_Function],
35070
35060
  0,
35061
+ 3,
35071
35062
  0,
35072
35063
  0,
35073
- asr_JsRiscV$getRegistersValues$lambda$_20_0,
35064
+ ["$apply0", $rt_wrapFunction1(asr_JsRiscV$getUndoStack$lambda$_21_0_apply)],
35065
+ asr_JsRiscV$getUndoStack$lambda$_21_1,
35074
35066
  0,
35075
35067
  jl_Object,
35076
- [juf_ToIntFunction],
35068
+ [juf_IntFunction],
35077
35069
  0,
35078
35070
  3,
35079
35071
  0,
35080
35072
  0,
35081
- 0,
35082
- asr_JsStackFrame,
35083
- "JsStackFrame",
35073
+ ["$apply", $rt_wrapFunction1(asr_JsRiscV$getUndoStack$lambda$_21_1_apply)],
35074
+ asr_JsBackStep,
35075
+ "JsBackStep",
35084
35076
  10,
35085
35077
  jl_Object,
35086
35078
  [],
@@ -35117,6 +35109,16 @@ $rt_metadata([
35117
35109
  0,
35118
35110
  0,
35119
35111
  0,
35112
+ asr_JsStackFrame,
35113
+ "JsStackFrame",
35114
+ 10,
35115
+ jl_Object,
35116
+ [],
35117
+ 0,
35118
+ 3,
35119
+ 0,
35120
+ 0,
35121
+ 0,
35120
35122
  ju_Map$Entry,
35121
35123
  0,
35122
35124
  jl_Object,
@@ -35210,35 +35212,34 @@ $rt_metadata([
35210
35212
  0,
35211
35213
  0,
35212
35214
  0,
35213
- asrrh_Register,
35214
- "Register",
35215
- 7,
35216
- ju_Observable,
35217
- [],
35215
+ asr_JsCompilationResult$_init_$lambda$_0_0,
35216
+ 0,
35217
+ jl_Object,
35218
+ [juf_Function],
35218
35219
  0,
35219
35220
  3,
35220
35221
  0,
35221
35222
  0,
35222
- ["$getValue", $rt_wrapFunction0(asrrh_Register_getValue), "$getValueNoNotify", $rt_wrapFunction0(asrrh_Register_getValueNoNotify), "$setValue", $rt_wrapFunction1(asrrh_Register_setValue), "$resetValue", $rt_wrapFunction0(asrrh_Register_resetValue)],
35223
- asrs_BackStepper,
35223
+ ["$apply0", $rt_wrapFunction1(asr_JsCompilationResult$_init_$lambda$_0_0_apply)],
35224
+ juf_Supplier,
35224
35225
  0,
35225
35226
  jl_Object,
35226
35227
  [],
35227
- 0,
35228
+ 3,
35228
35229
  3,
35229
35230
  0,
35230
35231
  0,
35231
35232
  0,
35232
- asrs_BackStepper$BackstepStack,
35233
+ asr_JsCompilationResult$_init_$lambda$_0_1,
35233
35234
  0,
35234
35235
  jl_Object,
35235
- [],
35236
+ [juf_Supplier],
35236
35237
  0,
35237
35238
  3,
35238
35239
  0,
35239
35240
  0,
35240
35241
  0,
35241
- jl_AutoCloseable,
35242
+ juf_BiConsumer,
35242
35243
  0,
35243
35244
  jl_Object,
35244
35245
  [],
@@ -35247,54 +35248,46 @@ $rt_metadata([
35247
35248
  0,
35248
35249
  0,
35249
35250
  0,
35250
- jus_BaseStream,
35251
+ asr_JsCompilationResult$_init_$lambda$_0_2,
35251
35252
  0,
35252
35253
  jl_Object,
35253
- [jl_AutoCloseable],
35254
- 3,
35254
+ [juf_BiConsumer],
35255
+ 0,
35255
35256
  3,
35256
35257
  0,
35257
35258
  0,
35258
35259
  0
35259
35260
  ]);
35260
35261
  $rt_metadata([
35261
- jus_Stream,
35262
+ asr_JsCompilationResult$_init_$lambda$_0_3,
35262
35263
  0,
35263
35264
  jl_Object,
35264
- [jus_BaseStream],
35265
- 3,
35266
- 3,
35267
- 0,
35268
- 0,
35269
- 0,
35270
- jusi_SimpleStreamImpl,
35265
+ [juf_BiConsumer],
35271
35266
  0,
35272
- jl_Object,
35273
- [jus_Stream],
35274
- 1,
35275
35267
  3,
35276
35268
  0,
35277
35269
  0,
35278
35270
  0,
35279
- jusi_ArrayStreamImpl,
35280
- 0,
35281
- jusi_SimpleStreamImpl,
35271
+ asrrh_Register,
35272
+ "Register",
35273
+ 7,
35274
+ ju_Observable,
35282
35275
  [],
35283
35276
  0,
35284
35277
  3,
35285
35278
  0,
35286
35279
  0,
35287
- ["$next1", $rt_wrapFunction1(jusi_ArrayStreamImpl_next), "$estimateSize", $rt_wrapFunction0(jusi_ArrayStreamImpl_estimateSize)],
35288
- asr_JsCompilationResult$_init_$lambda$_0_0,
35280
+ ["$getValue", $rt_wrapFunction0(asrrh_Register_getValue), "$getValueNoNotify", $rt_wrapFunction0(asrrh_Register_getValueNoNotify), "$setValue", $rt_wrapFunction1(asrrh_Register_setValue), "$resetValue", $rt_wrapFunction0(asrrh_Register_resetValue)],
35281
+ asrs_BackStepper,
35289
35282
  0,
35290
35283
  jl_Object,
35291
- [juf_Function],
35284
+ [],
35292
35285
  0,
35293
35286
  3,
35294
35287
  0,
35295
35288
  0,
35296
- ["$apply0", $rt_wrapFunction1(asr_JsCompilationResult$_init_$lambda$_0_0_apply)],
35297
- juf_Supplier,
35289
+ 0,
35290
+ jl_AutoCloseable,
35298
35291
  0,
35299
35292
  jl_Object,
35300
35293
  [],
@@ -35303,37 +35296,46 @@ $rt_metadata([
35303
35296
  0,
35304
35297
  0,
35305
35298
  0,
35306
- asr_JsCompilationResult$_init_$lambda$_0_1,
35299
+ jus_BaseStream,
35307
35300
  0,
35308
35301
  jl_Object,
35309
- [juf_Supplier],
35310
- 0,
35302
+ [jl_AutoCloseable],
35303
+ 3,
35311
35304
  3,
35312
35305
  0,
35313
35306
  0,
35314
35307
  0,
35315
- juf_BiConsumer,
35308
+ jus_Stream,
35316
35309
  0,
35317
35310
  jl_Object,
35318
- [],
35311
+ [jus_BaseStream],
35319
35312
  3,
35320
35313
  3,
35321
35314
  0,
35322
35315
  0,
35323
35316
  0,
35324
- asr_JsCompilationResult$_init_$lambda$_0_2,
35317
+ jusi_SimpleStreamImpl,
35325
35318
  0,
35326
35319
  jl_Object,
35327
- [juf_BiConsumer],
35328
- 0,
35320
+ [jus_Stream],
35321
+ 1,
35329
35322
  3,
35330
35323
  0,
35331
35324
  0,
35332
35325
  0,
35333
- asr_JsCompilationResult$_init_$lambda$_0_3,
35326
+ jusi_ArrayStreamImpl,
35327
+ 0,
35328
+ jusi_SimpleStreamImpl,
35329
+ [],
35330
+ 0,
35331
+ 3,
35332
+ 0,
35333
+ 0,
35334
+ ["$next1", $rt_wrapFunction1(jusi_ArrayStreamImpl_next), "$estimateSize", $rt_wrapFunction0(jusi_ArrayStreamImpl_estimateSize)],
35335
+ asrs_BackStepper$BackstepStack,
35334
35336
  0,
35335
35337
  jl_Object,
35336
- [juf_BiConsumer],
35338
+ [],
35337
35339
  0,
35338
35340
  3,
35339
35341
  0,
@@ -36880,7 +36882,7 @@ $rt_metadata([
36880
36882
  0,
36881
36883
  0,
36882
36884
  0,
36883
- asrrh_RegisterBlock,
36885
+ asr_ErrorList,
36884
36886
  0,
36885
36887
  jl_Object,
36886
36888
  [],
@@ -36889,7 +36891,7 @@ $rt_metadata([
36889
36891
  0,
36890
36892
  0,
36891
36893
  0,
36892
- asr_ErrorList,
36894
+ asrrh_RegisterBlock,
36893
36895
  0,
36894
36896
  jl_Object,
36895
36897
  [],
@@ -37543,24 +37545,6 @@ $rt_metadata([
37543
37545
  0,
37544
37546
  0,
37545
37547
  ["$next1", $rt_wrapFunction1(jusi_StreamOverSpliterator_next), "$estimateSize", $rt_wrapFunction0(jusi_StreamOverSpliterator_estimateSize)],
37546
- jusi_WrappingStreamImpl,
37547
- 0,
37548
- jusi_SimpleStreamImpl,
37549
- [],
37550
- 1,
37551
- 3,
37552
- 0,
37553
- 0,
37554
- 0,
37555
- jusi_MappingStreamImpl,
37556
- 0,
37557
- jusi_WrappingStreamImpl,
37558
- [],
37559
- 0,
37560
- 3,
37561
- 0,
37562
- 0,
37563
- ["$wrap3", $rt_wrapFunction1(jusi_MappingStreamImpl_wrap)],
37564
37548
  jus_IntStream,
37565
37549
  0,
37566
37550
  jl_Object,
@@ -37588,6 +37572,24 @@ $rt_metadata([
37588
37572
  0,
37589
37573
  0,
37590
37574
  0,
37575
+ jusi_WrappingStreamImpl,
37576
+ 0,
37577
+ jusi_SimpleStreamImpl,
37578
+ [],
37579
+ 1,
37580
+ 3,
37581
+ 0,
37582
+ 0,
37583
+ 0,
37584
+ jusi_MappingStreamImpl,
37585
+ 0,
37586
+ jusi_WrappingStreamImpl,
37587
+ [],
37588
+ 0,
37589
+ 3,
37590
+ 0,
37591
+ 0,
37592
+ ["$wrap3", $rt_wrapFunction1(jusi_MappingStreamImpl_wrap)],
37591
37593
  asru_Binary,
37592
37594
  0,
37593
37595
  jl_Object,
@@ -37800,6 +37802,15 @@ $rt_metadata([
37800
37802
  0,
37801
37803
  0,
37802
37804
  0,
37805
+ jl_NegativeArraySizeException,
37806
+ 0,
37807
+ jl_RuntimeException,
37808
+ [],
37809
+ 0,
37810
+ 3,
37811
+ 0,
37812
+ 0,
37813
+ 0,
37803
37814
  otjc_JSObjects,
37804
37815
  0,
37805
37816
  jl_Object,
@@ -37827,15 +37838,6 @@ $rt_metadata([
37827
37838
  0,
37828
37839
  0,
37829
37840
  0,
37830
- jl_NegativeArraySizeException,
37831
- 0,
37832
- jl_RuntimeException,
37833
- [],
37834
- 0,
37835
- 3,
37836
- 0,
37837
- 0,
37838
- 0,
37839
37841
  ju_Arrays$ArrayAsList,
37840
37842
  0,
37841
37843
  ju_AbstractList,
@@ -40664,7 +40666,7 @@ $rt_metadata([
40664
40666
  0,
40665
40667
  0,
40666
40668
  0,
40667
- asrjt_Float32,
40669
+ asrjt_Float64,
40668
40670
  0,
40669
40671
  asrjt_Floating,
40670
40672
  [],
@@ -40674,39 +40676,39 @@ $rt_metadata([
40674
40676
  0,
40675
40677
  [
40676
40678
  "$isSignMinus",
40677
- $rt_wrapFunction0(asrjt_Float32_isSignMinus),
40679
+ $rt_wrapFunction0(asrjt_Float64_isSignMinus),
40678
40680
  "$isInfinite",
40679
- $rt_wrapFunction0(asrjt_Float32_isInfinite),
40681
+ $rt_wrapFunction0(asrjt_Float64_isInfinite),
40680
40682
  "$isNormal",
40681
- $rt_wrapFunction0(asrjt_Float32_isNormal),
40683
+ $rt_wrapFunction0(asrjt_Float64_isNormal),
40682
40684
  "$isSubnormal",
40683
- $rt_wrapFunction0(asrjt_Float32_isSubnormal),
40685
+ $rt_wrapFunction0(asrjt_Float64_isSubnormal),
40684
40686
  "$isNaN",
40685
- $rt_wrapFunction0(asrjt_Float32_isNaN),
40687
+ $rt_wrapFunction0(asrjt_Float64_isNaN),
40686
40688
  "$isSignalling",
40687
- $rt_wrapFunction0(asrjt_Float32_isSignalling),
40689
+ $rt_wrapFunction0(asrjt_Float64_isSignalling),
40688
40690
  "$isZero",
40689
- $rt_wrapFunction0(asrjt_Float32_isZero),
40691
+ $rt_wrapFunction0(asrjt_Float64_isZero),
40690
40692
  "$toExactFloat",
40691
- $rt_wrapFunction0(asrjt_Float32_toExactFloat),
40693
+ $rt_wrapFunction0(asrjt_Float64_toExactFloat),
40692
40694
  "$maxPrecision",
40693
- $rt_wrapFunction0(asrjt_Float32_maxPrecision),
40695
+ $rt_wrapFunction0(asrjt_Float64_maxPrecision),
40694
40696
  "$negate2",
40695
- $rt_wrapFunction0(asrjt_Float32_negate0),
40697
+ $rt_wrapFunction0(asrjt_Float64_negate0),
40696
40698
  "$fromExactFloat",
40697
- $rt_wrapFunction2(asrjt_Float32_fromExactFloat),
40699
+ $rt_wrapFunction2(asrjt_Float64_fromExactFloat),
40698
40700
  "$NegativeInfinity",
40699
- $rt_wrapFunction0(asrjt_Float32_NegativeInfinity0),
40701
+ $rt_wrapFunction0(asrjt_Float64_NegativeInfinity0),
40700
40702
  "$Infinity",
40701
- $rt_wrapFunction0(asrjt_Float32_Infinity0),
40703
+ $rt_wrapFunction0(asrjt_Float64_Infinity0),
40702
40704
  "$NegativeZero",
40703
- $rt_wrapFunction0(asrjt_Float32_NegativeZero0),
40705
+ $rt_wrapFunction0(asrjt_Float64_NegativeZero0),
40704
40706
  "$Zero",
40705
- $rt_wrapFunction0(asrjt_Float32_Zero0),
40707
+ $rt_wrapFunction0(asrjt_Float64_Zero0),
40706
40708
  "$NaN",
40707
- $rt_wrapFunction0(asrjt_Float32_NaN0)
40709
+ $rt_wrapFunction0(asrjt_Float64_NaN0)
40708
40710
  ],
40709
- asrjt_Float64,
40711
+ asrjt_Float32,
40710
40712
  0,
40711
40713
  asrjt_Floating,
40712
40714
  [],
@@ -40716,57 +40718,57 @@ $rt_metadata([
40716
40718
  0,
40717
40719
  [
40718
40720
  "$isSignMinus",
40719
- $rt_wrapFunction0(asrjt_Float64_isSignMinus),
40721
+ $rt_wrapFunction0(asrjt_Float32_isSignMinus),
40720
40722
  "$isInfinite",
40721
- $rt_wrapFunction0(asrjt_Float64_isInfinite),
40723
+ $rt_wrapFunction0(asrjt_Float32_isInfinite),
40722
40724
  "$isNormal",
40723
- $rt_wrapFunction0(asrjt_Float64_isNormal),
40725
+ $rt_wrapFunction0(asrjt_Float32_isNormal),
40724
40726
  "$isSubnormal",
40725
- $rt_wrapFunction0(asrjt_Float64_isSubnormal),
40727
+ $rt_wrapFunction0(asrjt_Float32_isSubnormal),
40726
40728
  "$isNaN",
40727
- $rt_wrapFunction0(asrjt_Float64_isNaN),
40729
+ $rt_wrapFunction0(asrjt_Float32_isNaN),
40728
40730
  "$isSignalling",
40729
- $rt_wrapFunction0(asrjt_Float64_isSignalling),
40731
+ $rt_wrapFunction0(asrjt_Float32_isSignalling),
40730
40732
  "$isZero",
40731
- $rt_wrapFunction0(asrjt_Float64_isZero),
40733
+ $rt_wrapFunction0(asrjt_Float32_isZero),
40732
40734
  "$toExactFloat",
40733
- $rt_wrapFunction0(asrjt_Float64_toExactFloat),
40735
+ $rt_wrapFunction0(asrjt_Float32_toExactFloat),
40734
40736
  "$maxPrecision",
40735
- $rt_wrapFunction0(asrjt_Float64_maxPrecision),
40737
+ $rt_wrapFunction0(asrjt_Float32_maxPrecision),
40736
40738
  "$negate2",
40737
- $rt_wrapFunction0(asrjt_Float64_negate0),
40739
+ $rt_wrapFunction0(asrjt_Float32_negate0),
40738
40740
  "$fromExactFloat",
40739
- $rt_wrapFunction2(asrjt_Float64_fromExactFloat),
40741
+ $rt_wrapFunction2(asrjt_Float32_fromExactFloat),
40740
40742
  "$NegativeInfinity",
40741
- $rt_wrapFunction0(asrjt_Float64_NegativeInfinity0),
40743
+ $rt_wrapFunction0(asrjt_Float32_NegativeInfinity0),
40742
40744
  "$Infinity",
40743
- $rt_wrapFunction0(asrjt_Float64_Infinity0),
40745
+ $rt_wrapFunction0(asrjt_Float32_Infinity0),
40744
40746
  "$NegativeZero",
40745
- $rt_wrapFunction0(asrjt_Float64_NegativeZero0),
40747
+ $rt_wrapFunction0(asrjt_Float32_NegativeZero0),
40746
40748
  "$Zero",
40747
- $rt_wrapFunction0(asrjt_Float64_Zero0),
40749
+ $rt_wrapFunction0(asrjt_Float32_Zero0),
40748
40750
  "$NaN",
40749
- $rt_wrapFunction0(asrjt_Float64_NaN0)
40751
+ $rt_wrapFunction0(asrjt_Float32_NaN0)
40750
40752
  ],
40751
- asrjo_Comparisons,
40753
+ jm_BigInteger,
40752
40754
  0,
40753
- jl_Object,
40754
- [],
40755
+ jl_Number,
40756
+ [jl_Comparable, ji_Serializable],
40755
40757
  0,
40756
40758
  3,
40757
40759
  0,
40758
40760
  0,
40759
40761
  0,
40760
- jm_BigInteger,
40762
+ asrjo_Conversions,
40761
40763
  0,
40762
- jl_Number,
40763
- [jl_Comparable, ji_Serializable],
40764
+ jl_Object,
40765
+ [],
40764
40766
  0,
40765
40767
  3,
40766
40768
  0,
40767
40769
  0,
40768
40770
  0,
40769
- asrjo_Conversions,
40771
+ asrjo_Comparisons,
40770
40772
  0,
40771
40773
  jl_Object,
40772
40774
  [],
@@ -41013,23 +41015,23 @@ $rt_metadata([
41013
41015
  0,
41014
41016
  0,
41015
41017
  0,
41016
- asrjt_Float32$1,
41018
+ asrjt_Float64$1,
41017
41019
  0,
41018
41020
  jl_Object,
41019
41021
  [],
41020
41022
  32,
41021
41023
  0,
41022
41024
  0,
41023
- asrjt_Float32$1_$callClinit,
41025
+ asrjt_Float64$1_$callClinit,
41024
41026
  0,
41025
- asrjt_Float64$1,
41027
+ asrjt_Float32$1,
41026
41028
  0,
41027
41029
  jl_Object,
41028
41030
  [],
41029
41031
  32,
41030
41032
  0,
41031
41033
  0,
41032
- asrjt_Float64$1_$callClinit,
41034
+ asrjt_Float32$1_$callClinit,
41033
41035
  0,
41034
41036
  jm_Multiplication,
41035
41037
  0,
@@ -42840,6 +42842,16 @@ var $rt_jso_marker = Symbol("jsoClass");
42840
42842
  Object.defineProperty(c, "example", {
42841
42843
  get: $rt_callWithReceiver(asr_JsInstruction_getExample$exported$3)
42842
42844
  });
42845
+ c = asr_JsCompilationResult.prototype;
42846
+ Object.defineProperty(c, "hasErrors", {
42847
+ get: $rt_callWithReceiver(asr_JsCompilationResult_hasErrors$exported$1)
42848
+ });
42849
+ Object.defineProperty(c, "report", {
42850
+ get: $rt_callWithReceiver(asr_JsCompilationResult_getReport$exported$2)
42851
+ });
42852
+ Object.defineProperty(c, "errors", {
42853
+ get: $rt_callWithReceiver(asr_JsCompilationResult_getErrors$exported$0)
42854
+ });
42843
42855
  c = asr_JsProgramStatement.prototype;
42844
42856
  Object.defineProperty(c, "assemblyStatement", {
42845
42857
  get: $rt_callWithReceiver(asr_JsProgramStatement_getAssemblyStatement$exported$1)
@@ -42872,15 +42884,12 @@ var $rt_jso_marker = Symbol("jsoClass");
42872
42884
  Object.defineProperty(c, "param2", {
42873
42885
  get: $rt_callWithReceiver(asr_JsBackStep_getParam2$exported$1)
42874
42886
  });
42875
- c = asr_JsCompilationResult.prototype;
42876
- Object.defineProperty(c, "hasErrors", {
42877
- get: $rt_callWithReceiver(asr_JsCompilationResult_hasErrors$exported$1)
42878
- });
42879
- Object.defineProperty(c, "report", {
42880
- get: $rt_callWithReceiver(asr_JsCompilationResult_getReport$exported$2)
42887
+ c = asr_JsRiscVTokenizedLine.prototype;
42888
+ Object.defineProperty(c, "line", {
42889
+ get: $rt_callWithReceiver(asr_JsRiscVTokenizedLine_getLine$exported$0)
42881
42890
  });
42882
- Object.defineProperty(c, "errors", {
42883
- get: $rt_callWithReceiver(asr_JsCompilationResult_getErrors$exported$0)
42891
+ Object.defineProperty(c, "tokens", {
42892
+ get: $rt_callWithReceiver(asr_JsRiscVTokenizedLine_getTokens$exported$1)
42884
42893
  });
42885
42894
  c = asr_JsStackFrame.prototype;
42886
42895
  Object.defineProperty(c, "pc", {
@@ -42898,13 +42907,6 @@ var $rt_jso_marker = Symbol("jsoClass");
42898
42907
  Object.defineProperty(c, "toAddress", {
42899
42908
  get: $rt_callWithReceiver(asr_JsStackFrame_getToAddress$exported$1)
42900
42909
  });
42901
- c = asr_JsRiscVTokenizedLine.prototype;
42902
- Object.defineProperty(c, "line", {
42903
- get: $rt_callWithReceiver(asr_JsRiscVTokenizedLine_getLine$exported$0)
42904
- });
42905
- Object.defineProperty(c, "tokens", {
42906
- get: $rt_callWithReceiver(asr_JsRiscVTokenizedLine_getTokens$exported$1)
42907
- });
42908
42910
  c = asr_JsCompilationResult$JsCompilationError.prototype;
42909
42911
  Object.defineProperty(c, "macroExpansionHistory", {
42910
42912
  get: $rt_callWithReceiver(asr_JsCompilationResult$JsCompilationError_getMacroExpansionHistory$exported$3)
@@ -42951,26 +42953,26 @@ function $rt_export_class_JsInstruction_32() {
42951
42953
  throw new Error("Can't instantiate this class directly");
42952
42954
  }
42953
42955
  $rt_export_class_JsInstruction_32.prototype = asr_JsInstruction.prototype;
42954
- function $rt_export_class_JsProgramStatement_71() {
42956
+ function $rt_export_class_JsCompilationResult_70() {
42955
42957
  throw new Error("Can't instantiate this class directly");
42956
42958
  }
42957
- $rt_export_class_JsProgramStatement_71.prototype = asr_JsProgramStatement.prototype;
42958
- function $rt_export_class_JsBackStep_75() {
42959
+ $rt_export_class_JsCompilationResult_70.prototype = asr_JsCompilationResult.prototype;
42960
+ function $rt_export_class_JsProgramStatement_72() {
42959
42961
  throw new Error("Can't instantiate this class directly");
42960
42962
  }
42961
- $rt_export_class_JsBackStep_75.prototype = asr_JsBackStep.prototype;
42962
- function $rt_export_class_JsCompilationResult_76() {
42963
+ $rt_export_class_JsProgramStatement_72.prototype = asr_JsProgramStatement.prototype;
42964
+ function $rt_export_class_JsBackStep_79() {
42963
42965
  throw new Error("Can't instantiate this class directly");
42964
42966
  }
42965
- $rt_export_class_JsCompilationResult_76.prototype = asr_JsCompilationResult.prototype;
42966
- function $rt_export_class_JsStackFrame_80() {
42967
+ $rt_export_class_JsBackStep_79.prototype = asr_JsBackStep.prototype;
42968
+ function $rt_export_class_JsRiscVTokenizedLine_82() {
42967
42969
  throw new Error("Can't instantiate this class directly");
42968
42970
  }
42969
- $rt_export_class_JsStackFrame_80.prototype = asr_JsStackFrame.prototype;
42970
- function $rt_export_class_JsRiscVTokenizedLine_83() {
42971
+ $rt_export_class_JsRiscVTokenizedLine_82.prototype = asr_JsRiscVTokenizedLine.prototype;
42972
+ function $rt_export_class_JsStackFrame_83() {
42971
42973
  throw new Error("Can't instantiate this class directly");
42972
42974
  }
42973
- $rt_export_class_JsRiscVTokenizedLine_83.prototype = asr_JsRiscVTokenizedLine.prototype;
42975
+ $rt_export_class_JsStackFrame_83.prototype = asr_JsStackFrame.prototype;
42974
42976
  function $rt_export_class_JsCompilationError_349() {
42975
42977
  throw new Error("Can't instantiate this class directly");
42976
42978
  }