Bug 112816

Summary: ARMv7 replaceWithJump ASSERT failure after r135330.
Product: WebKit Reporter: Balazs Kilvady <kilvadyb>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: barraclough, cgarcia, fpizlo, fu, galpeter, gergely, noam, oliver, ossy, palfia, rgabor, xan.lopez, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   

Description Balazs Kilvady 2013-03-20 09:00:07 PDT
+++ This bug was initially created as a clone of Bug #103146 +++

Running v8 test v7 with jsc in debug mode on our ARMv7 board I received this ASSERT failure:

Starting program: /data/kilvadyb/webkit-arm/webkit/WebKitBuild/Debug/bin/jsc run.js
[Thread debugging using libthread_db enabled]
[New Thread 0x42dc4400 (LWP 1111)]
Richards: 161
DeltaBlue: 21.8
Crypto: 110
RayTrace: 101
ASSERTION FAILED: canBeJumpT4(instruction, target)
/data/kilvadyb/webkit-arm/webkit/Source/JavaScriptCore/assembler/ARMv7Assembler.h(2475) : static void JSC::ARMv7Assembler::linkJumpT4(uint16_t*, void*)

Program received signal SIGSEGV, Segmentation fault.
0x4040b38c in JSC::ARMv7Assembler::linkJumpT4 (instruction=0x455695f6, target=0x43599dc0)
    at /data/kilvadyb/webkit-arm/webkit/Source/JavaScriptCore/assembler/ARMv7Assembler.h:2475
2475	        ASSERT(canBeJumpT4(instruction, target));
(gdb)

I had similar problem on MIPS where a replaceWithJump would be easier to implement with direct jump instead of jump via register.
Comment 1 Balazs Kilvady 2013-03-20 09:02:16 PDT

*** This bug has been marked as a duplicate of bug 103146 ***