Skip to content

Commit

Permalink
[JSC] Remove unused private name structure
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=178436

Reviewed by Sam Weinig.

It is no longer used. This patch just removes it.

* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::numberObjectStructure const):
(JSC::JSGlobalObject::privateNameStructure const): Deleted.


Canonical link: https://commits.webkit.org/194657@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Constellation committed Oct 18, 2017
1 parent 6d64d0a commit 8fd3c1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 13 additions & 0 deletions Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,16 @@
2017-10-18 Yusuke Suzuki <utatane.tea@gmail.com>

[JSC] Remove unused private name structure
https://bugs.webkit.org/show_bug.cgi?id=178436

Reviewed by Sam Weinig.

It is no longer used. This patch just removes it.

* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::numberObjectStructure const):
(JSC::JSGlobalObject::privateNameStructure const): Deleted.

2017-10-18 Ryosuke Niwa <rniwa@webkit.org>

Fix macOS and iOS builds after r223594.
Expand Down
2 changes: 0 additions & 2 deletions Source/JavaScriptCore/runtime/JSGlobalObject.h
Expand Up @@ -328,7 +328,6 @@ class JSGlobalObject : public JSSegmentedVariableObject {
LazyProperty<JSGlobalObject, Structure> m_nativeStdFunctionStructure;
LazyProperty<JSGlobalObject, Structure> m_namedFunctionStructure;
PropertyOffset m_functionNameOffset;
WriteBarrier<Structure> m_privateNameStructure;
WriteBarrier<Structure> m_regExpStructure;
WriteBarrier<AsyncFunctionPrototype> m_asyncFunctionPrototype;
WriteBarrier<AsyncGeneratorFunctionPrototype> m_asyncGeneratorFunctionPrototype;
Expand Down Expand Up @@ -638,7 +637,6 @@ class JSGlobalObject : public JSSegmentedVariableObject {
Structure* namedFunctionStructure() const { return m_namedFunctionStructure.get(this); }
PropertyOffset functionNameOffset() const { return m_functionNameOffset; }
Structure* numberObjectStructure() const { return m_numberObjectStructure.get(); }
Structure* privateNameStructure() const { return m_privateNameStructure.get(); }
Structure* mapStructure() const { return m_mapStructure.get(); }
Structure* regExpStructure() const { return m_regExpStructure.get(); }
Structure* generatorFunctionStructure() const { return m_generatorFunctionStructure.get(); }
Expand Down

0 comments on commit 8fd3c1a

Please sign in to comment.