WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
123788
GetById->GetByOffset and PutById->PutByOffset folding should mark haveStructures since it may result in structure transition watchpoints
https://bugs.webkit.org/show_bug.cgi?id=123788
Summary
GetById->GetByOffset and PutById->PutByOffset folding should mark haveStructu...
Filip Pizlo
Reported
2013-11-04 22:37:14 PST
This is totally asymptomatic as far as I can tell even though it's a violation of IR semantics. It just sort of "works" because this only arises if you already had a transition watchpoint for that structure, which usually ends up being good enough since watchpoints invalidate the whole function.
Attachments
the patch
(2.26 KB, patch)
2013-11-04 22:44 PST
,
Filip Pizlo
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2013-11-04 22:44:03 PST
Created
attachment 216005
[details]
the patch
Geoffrey Garen
Comment 2
2013-11-05 10:37:00 PST
Comment on
attachment 216005
[details]
the patch r=me The phrase "have structures" does not communicate this detail to me. I think by "have" you mean "speculated about, in a way which is invalid after an operation that clobbers the world". Maybe a better name would be "hasStructureSpeculations" or "hasStructuresToClobber" or "hasClobberableStructures".
Filip Pizlo
Comment 3
2013-11-05 10:45:47 PST
(In reply to
comment #2
)
> (From update of
attachment 216005
[details]
) > r=me > > The phrase "have structures" does not communicate this detail to me. I think by "have" you mean "speculated about, in a way which is invalid after an operation that clobbers the world". Maybe a better name would be "hasStructureSpeculations" or "hasStructuresToClobber" or "hasClobberableStructures".
Fair point. I'll try to think of a better name.
Filip Pizlo
Comment 4
2013-11-05 10:51:17 PST
Landed in
http://trac.webkit.org/changeset/158680
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