Summary: | REGRESSION(r196331): It made ~180 JSC tests crash on ARMv7 Linux | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||||
Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Critical | CC: | barraclough, cgarcia, clopez, commit-queue, ggaren, gyuyoung.kim, hs85.jeong, keith_miller, mark.lam, msaboff, ossy, saam | ||||||
Priority: | P1 | ||||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 108645, 154009 | ||||||||
Attachments: |
|
Description
Csaba Osztrogonác
2016-02-10 02:30:17 PST
Created attachment 270989 [details]
Patch
Comment on attachment 270989 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=270989&action=review > Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp:464 > +// EncodedJSValue in JSVALUE32_64 is a 64-bit integer. When being compiled in ARM EABI, it must be aligned even-numbered register (r0, r2 or [sp]). By "aligned even-numbered", did you mean "aligned on an even-numbered"? > Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp:465 > +// To avoid assemblies from using wrong registers, let's occupy r1 or r3 with a dummy argument when necessary. By "To avoid assemblies", did you mean "To prevent the assembler"? I simply copy/pasted these lines from JITInlines.h (DFGSpeculativeJIT.h, WASMFunctionCompiler.h), but I can fix the grammar everywhere, of course. Created attachment 270994 [details]
Patch
Comment on attachment 270994 [details]
Patch
r=me
Thanks for fixing the other comments as well.
Comment on attachment 270994 [details] Patch Clearing flags on attachment: 270994 Committed r196368: <http://trac.webkit.org/changeset/196368> All reviewed patches have been landed. Closing bug. |