aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia
diff options
context:
space:
mode:
Diffstat (limited to 'libjulia')
-rw-r--r--libjulia/optimiser/ExpressionSplitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjulia/optimiser/ExpressionSplitter.cpp b/libjulia/optimiser/ExpressionSplitter.cpp
index 4448a15b..f189f563 100644
--- a/libjulia/optimiser/ExpressionSplitter.cpp
+++ b/libjulia/optimiser/ExpressionSplitter.cpp
@@ -89,7 +89,7 @@ void ExpressionSplitter::operator()(Block& _block)
void ExpressionSplitter::outlineExpression(Expression& _expr)
{
- if (_expr.type() != typeid(FunctionalInstruction) && _expr.type() != typeid(FunctionCall))
+ if (_expr.type() == typeid(Identifier))
return;
visit(_expr);