Bug 65942 - Fix one MIPS instruction to call JITStubThunked_##op
Summary: Fix one MIPS instruction to call JITStubThunked_##op
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 14:10 PDT by Chao-ying Fu
Modified: 2011-08-09 17:29 PDT (History)
1 user (show)

See Also:


Attachments
Change MIPS bal to jalr (1.36 KB, patch)
2011-08-09 14:25 PDT, Chao-ying Fu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chao-ying Fu 2011-08-09 14:10:19 PDT
Hi All,

  I will upload a patch to fix one MIPS instruction from "bal" to "jalr" that calls JITStubThunked_##op.  This fix is necessary, when JITStubThunked_##op is compiled for MIPS16, as "bal" cannot switch the current processor mode from MIPS32 to MIPS16.  The GNU linker still can do optimization to convert "jalr" to "bal", if it is possible.

  Thanks a lot!

Regards,
Chao-ying
Comment 1 Chao-ying Fu 2011-08-09 14:25:45 PDT
Created attachment 103396 [details]
Change MIPS bal to jalr

Here is the patch.  Thanks!
Comment 2 WebKit Review Bot 2011-08-09 17:29:03 PDT
Comment on attachment 103396 [details]
Change MIPS bal to jalr

Clearing flags on attachment: 103396

Committed r92731: <http://trac.webkit.org/changeset/92731>
Comment 3 WebKit Review Bot 2011-08-09 17:29:07 PDT
All reviewed patches have been landed.  Closing bug.