WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
169139
Add MacroAssembler::isBreakpoint() query function.
https://bugs.webkit.org/show_bug.cgi?id=169139
Summary
Add MacroAssembler::isBreakpoint() query function.
Mark Lam
Reported
2017-03-03 11:57:14 PST
This will be needed soon when we use breakpoint instructions to implement non-polling VM traps, and need to discern between a VM trap signal and a genuine assertion breakpoint.
Attachments
proposed patch.
(10.77 KB, patch)
2017-03-03 12:20 PST
,
Mark Lam
msaboff
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2017-03-03 12:20:11 PST
Created
attachment 303334
[details]
proposed patch.
Michael Saboff
Comment 2
2017-03-03 12:56:54 PST
Comment on
attachment 303334
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=303334&action=review
r=me
> Source/JavaScriptCore/assembler/ARM64Assembler.h:874 > + int mask = excepnGenerationImmMask();
The name "mask" is a little misleading. It is really a mask of the immediate.
> Source/JavaScriptCore/assembler/ARMAssembler.h:708 > + ARMWord mask = (0xff0 << 4) | 0xf);
Ditto on the name "mask".
> Source/JavaScriptCore/assembler/ARMv7Assembler.h:993 > + unsigned short mask = 0xff;
Ditto
Mark Lam
Comment 3
2017-03-03 13:30:46 PST
Thanks for the review. I renames the mask variables to immediateMask. Landed in
r213367
: <
http://trac.webkit.org/r213367
>.
Mark Lam
Comment 4
2017-03-03 13:36:48 PST
Landed a ARM64 build fix for this patch in
r213381
: <
http://trac.webkit.org/r213381
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug