pxt-core 13.2.2 → 13.2.3
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.
- package/built/pxt.js +585 -77
- package/built/pxtcompiler.d.ts +19 -1
- package/built/pxtcompiler.js +519 -64
- package/built/pxtlib.d.ts +1 -1
- package/built/pxtlib.js +66 -13
- package/built/target.js +1 -1
- package/built/targetlight.js +1 -1
- package/built/tests/thumb-test/asmchecks.d.ts +22 -0
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtcompiler.js +1 -1
- package/built/web/pxtembed.js +3 -3
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/localtypings/pxtarget.d.ts +2 -0
- package/package.json +1 -1
package/built/pxtcompiler.d.ts
CHANGED
|
@@ -120,12 +120,17 @@ declare namespace ts.pxtc {
|
|
|
120
120
|
private bitSizeInfo;
|
|
121
121
|
private emitExpr;
|
|
122
122
|
private emitFieldAccess;
|
|
123
|
+
private checkedFieldAccessCountKey;
|
|
124
|
+
private shouldSpecializeCheckedFieldLoad;
|
|
125
|
+
private emitCheckedFieldLoad;
|
|
123
126
|
private writeFailBranch;
|
|
124
127
|
private emitClassCall;
|
|
125
128
|
private helperObject;
|
|
126
129
|
private emitBindHelper;
|
|
127
130
|
private ifaceCallCore;
|
|
128
131
|
private emitIfaceCall;
|
|
132
|
+
private ifaceCallCountKey;
|
|
133
|
+
private shouldSpecializeIfaceCall;
|
|
129
134
|
private checkSubtype;
|
|
130
135
|
private loadVTable;
|
|
131
136
|
private emitInstanceOf;
|
|
@@ -134,17 +139,24 @@ declare namespace ts.pxtc {
|
|
|
134
139
|
private builtInClassNo;
|
|
135
140
|
private emitBeginTry;
|
|
136
141
|
private emitRtCall;
|
|
142
|
+
private mapSetByFieldId;
|
|
143
|
+
private shouldSpecializeMapSetByFieldId;
|
|
144
|
+
private emitMapSetByFieldIdCall;
|
|
137
145
|
private alignedCall;
|
|
146
|
+
private ensureLabelledHelper;
|
|
138
147
|
private emitLabelledHelper;
|
|
148
|
+
private helperLabel;
|
|
139
149
|
private emitHelper;
|
|
140
150
|
private pushToExprStack;
|
|
141
151
|
private pushArg;
|
|
142
152
|
private loadFromExprStack;
|
|
143
153
|
private pushDummy;
|
|
144
154
|
private alignExprStack;
|
|
145
|
-
private
|
|
155
|
+
private emitFieldMethod;
|
|
156
|
+
private emitStringMapSetMethod;
|
|
146
157
|
private emitArrayMethod;
|
|
147
158
|
private emitArrayMethods;
|
|
159
|
+
private emitFieldMethods;
|
|
148
160
|
private emitLambdaTrampoline;
|
|
149
161
|
private emitProcCall;
|
|
150
162
|
private lambdaCall;
|
|
@@ -505,6 +517,7 @@ declare namespace ts.pxtc.ir {
|
|
|
505
517
|
classInfo: ClassInfo;
|
|
506
518
|
perfCounterName: string;
|
|
507
519
|
perfCounterNo: number;
|
|
520
|
+
useExactIfaceWrapper: boolean;
|
|
508
521
|
body: Stmt[];
|
|
509
522
|
lblNo: number;
|
|
510
523
|
action: ts.FunctionLikeDeclaration;
|
|
@@ -727,6 +740,11 @@ declare namespace ts.pxtc {
|
|
|
727
740
|
explicitlyUsedIfaceMembers: pxt.Map<boolean>;
|
|
728
741
|
ifaceMemberMap: pxt.Map<number>;
|
|
729
742
|
ifaceMembers: string[];
|
|
743
|
+
ifaceCallCounts: pxt.Map<number>;
|
|
744
|
+
mapSetByFieldIdCounts: pxt.Map<number>;
|
|
745
|
+
checkedFieldAccessCounts: pxt.Map<number>;
|
|
746
|
+
dynamicIfaceCalls: pxt.Map<boolean>;
|
|
747
|
+
usesMapSetByStringOnly: boolean;
|
|
730
748
|
strings: pxt.Map<string>;
|
|
731
749
|
hexlits: pxt.Map<string>;
|
|
732
750
|
doubles: pxt.Map<string>;
|