Title: [142751] trunk/Source/_javascript_Core
- Revision
- 142751
- Author
- [email protected]
- Date
- 2013-02-13 08:23:29 -0800 (Wed, 13 Feb 2013)
Log Message
replaceWithJump should not decrease the offset by 1 on ARM traditional.
https://bugs.webkit.org/show_bug.cgi?id=109689
Reviewed by Zoltan Herczeg.
* assembler/ARMAssembler.h:
(JSC::ARMAssembler::replaceWithJump):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (142750 => 142751)
--- trunk/Source/_javascript_Core/ChangeLog 2013-02-13 16:16:45 UTC (rev 142750)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-02-13 16:23:29 UTC (rev 142751)
@@ -1,3 +1,13 @@
+2013-02-13 Zoltan Herczeg <[email protected]>
+
+ replaceWithJump should not decrease the offset by 1 on ARM traditional.
+ https://bugs.webkit.org/show_bug.cgi?id=109689
+
+ Reviewed by Zoltan Herczeg.
+
+ * assembler/ARMAssembler.h:
+ (JSC::ARMAssembler::replaceWithJump):
+
2013-02-12 Joseph Pecoraro <[email protected]>
[iOS] Enable PAGE_VISIBILITY_API
Modified: trunk/Source/_javascript_Core/assembler/ARMAssembler.h (142750 => 142751)
--- trunk/Source/_javascript_Core/assembler/ARMAssembler.h 2013-02-13 16:16:45 UTC (rev 142750)
+++ trunk/Source/_javascript_Core/assembler/ARMAssembler.h 2013-02-13 16:23:29 UTC (rev 142751)
@@ -904,7 +904,7 @@
static void replaceWithJump(void* instructionStart, void* to)
{
- ARMWord* instruction = reinterpret_cast<ARMWord*>(instructionStart) - 1;
+ ARMWord* instruction = reinterpret_cast<ARMWord*>(instructionStart);
intptr_t difference = reinterpret_cast<intptr_t>(to) - (reinterpret_cast<intptr_t>(instruction) + DefaultPrefetchOffset * sizeof(ARMWord));
if (!(difference & 1)) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes