diff options
Diffstat (limited to 'src/passes/Precompute.cpp')
-rw-r--r-- | src/passes/Precompute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp index 5baf2331f..d2f3543ad 100644 --- a/src/passes/Precompute.cpp +++ b/src/passes/Precompute.cpp @@ -178,7 +178,7 @@ public: // Otherwise, we've failed to precompute. return Flow(NONCONSTANT_FLOW); } - Flow visitArrayLen(ArrayLen* curr) { return Flow(NONCONSTANT_FLOW); } + // ArrayLen is not disallowed here as it is an immutable property. Flow visitArrayCopy(ArrayCopy* curr) { return Flow(NONCONSTANT_FLOW); } // Generates heap info for a heap-allocating expression. |