You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/acorn-optimizer.mjs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -397,7 +397,7 @@ function JSDCE(ast, aggressive) {
397
397
if(elem)traverse(elem);
398
398
}
399
399
}else{
400
-
assertAt(id.type==='Identifier',id,`expected Indentifier but found ${id.type}`);
400
+
assertAt(id.type==='Identifier',id,`expected Identifier but found ${id.type}`);
401
401
constname=id.name;
402
402
ensureData(scopes[scopes.length-1],name).def=1;
403
403
}
@@ -862,7 +862,7 @@ function emitDCEGraph(ast) {
862
862
// must find the info we need
863
863
assert(
864
864
foundWasmImportsAssign,
865
-
'could not find the assigment to "wasmImports". perhaps --pre-js or --post-js code moved it out of the global scope? (things like that should be done after emcc runs, as they do not need to be run through the optimizer which is the special thing about --pre-js/--post-js code)',
865
+
'could not find the assignment to "wasmImports". perhaps --pre-js or --post-js code moved it out of the global scope? (things like that should be done after emcc runs, as they do not need to be run through the optimizer which is the special thing about --pre-js/--post-js code)',
866
866
);
867
867
// Read exports that were declared in extraInfo
868
868
if(extraInfo){
@@ -932,7 +932,7 @@ function emitDCEGraph(ast) {
932
932
if(infos[reached]){
933
933
infos[reached].root=true;// in global scope, root it
934
934
}else{
935
-
// An info might not exist for the identifer if it is missing, for
935
+
// An info might not exist for the identifier if it is missing, for
936
936
// example, we might call Module.dynCall_vi in library code, but it
937
937
// won't exist in a standalone (non-JS) build anyhow. We can ignore
938
938
// it in that case as the JS won't be used, but warn to be safe.
Copy file name to clipboardExpand all lines: tools/experimental/reproduceriter.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@
96
96
make a browser build, record a trace, then make a shell build and copy the trace
97
97
there so you can run it.
98
98
99
-
The last parameter specifies what to do when the event loop is idle: We fire an event and then set onIdle (which was this function) to null, so this is a one-time occurence.
99
+
The last parameter specifies what to do when the event loop is idle: We fire an event and then set onIdle (which was this function) to null, so this is a one-time occurrence.
err('--obj-output is recommended when using --embed. This outputs an object file for linking directly into your application is more effecient than JS encoding')
705
+
err('--obj-output is recommended when using --embed. This outputs an object file for linking directly into your application is more efficient than JS encoding')
0 commit comments