aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4regalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4regalloc.cpp')
-rw-r--r--src/qml/compiler/qv4regalloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4regalloc.cpp b/src/qml/compiler/qv4regalloc.cpp
index c325ea6b71..210ae686c8 100644
--- a/src/qml/compiler/qv4regalloc.cpp
+++ b/src/qml/compiler/qv4regalloc.cpp
@@ -435,7 +435,7 @@ protected: // IRDecoder
needsCall = false;
}
} else if (leftSource->type == SInt32Type && rightSource->type == SInt32Type) {
- if (oper == OpBitAnd) {
+ if (oper == OpBitAnd || oper == OpBitOr || oper == OpBitXor) {
needsCall = false;
}
} else if (leftSource->type == SInt32Type && rightSource->type == UInt32Type) {