Bug 119422 - hasIndexingHeader should be a property of the Structure, not just the IndexingType
Summary: hasIndexingHeader should be a property of the Structure, not just the Indexin...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks: 119064
  Show dependency treegraph
 
Reported: 2013-08-01 19:08 PDT by Filip Pizlo
Modified: 2013-08-02 11:26 PDT (History)
9 users (show)

See Also:


Attachments
the patch (11.25 KB, patch)
2013-08-01 19:14 PDT, Filip Pizlo
oliver: review+
eflews.bot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-08-01 19:08:25 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2013-08-01 19:14:31 PDT
Created attachment 207974 [details]
the patch
Comment 2 Mark Hahnenberg 2013-08-01 19:17:01 PDT
Comment on attachment 207974 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=207974&action=review

> Source/JavaScriptCore/runtime/Structure.h:233
> +        return hasIndexedProperties(indexingType());

Perhaps hasIndexedProperties() should be moved into Structure as well for the sake of consistency?
Comment 3 Filip Pizlo 2013-08-01 19:18:32 PDT
(In reply to comment #2)
> (From update of attachment 207974 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=207974&action=review
> 
> > Source/JavaScriptCore/runtime/Structure.h:233
> > +        return hasIndexedProperties(indexingType());
> 
> Perhaps hasIndexedProperties() should be moved into Structure as well for the sake of consistency?

We sometimes call that one without having a Structure*, as you would sort of expect: the point is that the indexing type always entirely determines whether or not you have indexed properties, in the pure-JS-object sense (rather than the typed-array or string sense).
Comment 4 EFL EWS Bot 2013-08-01 19:40:30 PDT
Comment on attachment 207974 [details]
the patch

Attachment 207974 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/1330019
Comment 5 Filip Pizlo 2013-08-02 11:26:52 PDT
Landed in http://trac.webkit.org/changeset/153657