Skip to content
Permalink
Browse files
[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.


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 8fd3c1aa930e556778c012130cf8bd36ad45a92f
Showing with 13 additions and 2 deletions.
  1. +13 −0 Source/JavaScriptCore/ChangeLog
  2. +0 −2 Source/JavaScriptCore/runtime/JSGlobalObject.h
@@ -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.
@@ -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;
@@ -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(); }

0 comments on commit 8fd3c1a

Please sign in to comment.