diff options
author | Jon Medhurst <tixy@linaro.org> | 2012-09-18 14:59:11 +0100 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-14 08:59:46 +0100 |
commit | da2f7b782682f081b11622b51e68c0d1072193f3 (patch) | |
tree | 286e0ae2ed2f0d275d2cfce88325c1556f37c54f | |
parent | 7d3bcc79db4a88ba2ce431a298f1370875d1ba2c (diff) | |
download | dalvik-linaro_android_4.2.tar.gz |
dalvik: Fix for broswer-crashing buglinaro_android_4.2.1linaro_android_4.2
This applies the fix proposed by Olivier Cozette in
https://code.google.com/p/android/issues/detail?id=37561
and fixes our bug:
https://bugs.launchpad.net/linaro-android/+bug/978060
An alternative fix has been applied since, leaving this one in
as a comment for reference
Change-Id: I54336c83650c1628fd1bb689148bc1dd8843d7c6
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | vm/compiler/codegen/arm/CodegenDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/CodegenDriver.cpp b/vm/compiler/codegen/arm/CodegenDriver.cpp index 34e7f3aa6..ef4f54d12 100644 --- a/vm/compiler/codegen/arm/CodegenDriver.cpp +++ b/vm/compiler/codegen/arm/CodegenDriver.cpp @@ -2841,7 +2841,7 @@ static u8 findPackedSwitchIndex(const u2* switchData, int testVal, uintptr_t pc) } chainingPC += jumpIndex * CHAIN_CELL_NORMAL_SIZE; - return (((u8) caseDPCOffset) << 32) | (u8) chainingPC; + return (((u8) caseDPCOffset) << 32) | (u8) chainingPC; //return (((s8) caseDPCOffset) << 32) | (u8) ((unsigned int)chainingPC); } /* See comments for findPackedSwitchIndex */ |