diff options
author | Erik Verbruggen <erik.verbruggen@me.com> | 2013-10-08 10:48:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-10 09:54:31 +0200 |
commit | ccfa06e7566f1c113a3c5c31dab3c5aeb7a4985d (patch) | |
tree | dfb2973936638a3b55a6321992031a981734c3f4 /src/qml/compiler/qv4regalloc.cpp | |
parent | a967a9bdcc2c75a0270c2be48d845ded5332e4f0 (diff) |
V4 JIT: ISel for bitwise or/xor.
Removes another 4mln calls when running v8-bench.js.
Change-Id: I7fd777e4e6303f989391c4d1e361277cc24b37e8
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4regalloc.cpp')
-rw-r--r-- | src/qml/compiler/qv4regalloc.cpp | 2 |
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) { |