WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148611
JSC property attributes should fit in a byte
https://bugs.webkit.org/show_bug.cgi?id=148611
Summary
JSC property attributes should fit in a byte
Filip Pizlo
Reported
2015-08-29 13:14:32 PDT
Patch forthcoming.
Attachments
the patch
(5.04 KB, patch)
2015-08-29 13:21 PDT
,
Filip Pizlo
fpizlo
: review-
Details
Formatted Diff
Diff
a different approach
(25.71 KB, patch)
2015-08-29 21:02 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch
(31.09 KB, patch)
2015-08-29 21:59 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch
(31.17 KB, patch)
2015-08-29 22:38 PDT
,
Filip Pizlo
sam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2015-08-29 13:21:46 PDT
Created
attachment 260226
[details]
the patch
Filip Pizlo
Comment 2
2015-08-29 13:38:04 PDT
Comment on
attachment 260226
[details]
the patch Nope, this doesn't work.
Filip Pizlo
Comment 3
2015-08-29 21:02:08 PDT
Created
attachment 260232
[details]
a different approach Not yet ready for review though. Just seeing if EWS is happy.
WebKit Commit Bot
Comment 4
2015-08-29 21:03:55 PDT
Attachment 260232
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:43: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:47: One space before end of line comments [whitespace/comments] [5] Total errors found: 2 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 5
2015-08-29 21:59:18 PDT
Created
attachment 260236
[details]
the patch
WebKit Commit Bot
Comment 6
2015-08-29 22:01:29 PDT
Attachment 260236
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:43: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:47: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:48: One space before end of line comments [whitespace/comments] [5] Total errors found: 3 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 7
2015-08-29 22:38:23 PDT
Created
attachment 260237
[details]
the patch
WebKit Commit Bot
Comment 8
2015-08-29 22:40:47 PDT
Attachment 260237
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:43: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:47: One space before end of line comments [whitespace/comments] [5] ERROR: Source/JavaScriptCore/runtime/PropertySlot.h:48: One space before end of line comments [whitespace/comments] [5] Total errors found: 3 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 9
2015-08-30 10:26:54 PDT
Is there any reason to keep the static hashtable specific attributes in the Attribute enum anymore? Should we instead have HashTableValue have two fields, m_attributes (of type Attributes) which contains the JSObject attributes and a new m_staticAttributes (awful name) which has the static hashtable specific values?
Filip Pizlo
Comment 10
2015-08-30 10:36:30 PDT
(In reply to
comment #9
)
> Is there any reason to keep the static hashtable specific attributes in the > Attribute enum anymore? Should we instead have HashTableValue have two > fields, m_attributes (of type Attributes) which contains the JSObject > attributes and a new m_staticAttributes (awful name) which has the static > hashtable specific values?
I think that might be good follow-up change. The benefit of my approach is that it is a much smaller change, since I don't have to touch the code generators that use the static hash table attributed.
Filip Pizlo
Comment 11
2015-08-30 15:34:34 PDT
Landed in
http://trac.webkit.org/changeset/189160
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