Bug 54586
| Summary: | [arm] In javascript, ">> 0" operation failed on arm-based platform | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chang Shu <cshu> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | christian.webkit, ddkilzer, ggaren, laszlo.gombos, zherczeg |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | S60 Hardware | ||
| OS: | S60 3rd edition | ||
Chang Shu
The following test fails on s60, which uses arm chips.
<script>
r = 100;
document.writeln((r >> 0 == 100) ? 'pass' : 'fail');
</script>
It's interesting that "100 >> 0" works fine.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Laszlo Gombos
Chang, have you tried turning JIT off ?
Chang Shu
(In reply to comment #1)
> Chang, have you tried turning JIT off ?
Yes, disabling JIT makes the test case pass.
David Kilzer (:ddkilzer)
<rdar://problem/9018475>
Zoltan Herczeg
I will check this bug on Monday. Thanks for letting us know.
Zoltan Herczeg
I tried the test case and it works for me. I think the following bug has already fixed this issue: https://bugs.webkit.org/show_bug.cgi?id=38375, and landed in r58562. Could you confirm this?
Chang Shu
Laszlo, can you check which release this patch should go to and ask Ademar cherry-pick the code? Thanks.
Chang Shu
(In reply to comment #5)
> I tried the test case and it works for me. I think the following bug has already fixed this issue: https://bugs.webkit.org/show_bug.cgi?id=38375, and landed in r58562. Could you confirm this?
Thanks for the investigation, Zoltan. We will test it on Symbian platform.