We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4838dd3 commit 4b613d3Copy full SHA for 4b613d3
src/compiler/iroptimizer.js
@@ -1,6 +1,7 @@
1
// @ts-check
2
3
const {StackOpcode, InputOpcode, InputType} = require('./enums.js');
4
+const log = require('../util/log');
5
6
// These imports are used by jsdoc comments but eslint doesn't know that
7
/* eslint-disable no-unused-vars */
@@ -647,7 +648,7 @@ class IROptimizer {
647
648
do {
649
// If we are stuck in an apparent infinite loop, give up and assume the worst.
650
if (iterations > 10000) {
- console.error('analyzeLoopedStack stuck in likely infinite loop; quitting', block, state);
651
+ log.error('analyzeLoopedStack stuck in likely infinite loop; quitting', block, state);
652
modified = state.clear();
653
block.entryState = state.clone();
654
block.exitState = state.clone();
0 commit comments