Title: [289414] branches/safari-613-branch/Source/_javascript_Core
- Revision
- 289414
- Author
- [email protected]
- Date
- 2022-02-08 11:55:33 -0800 (Tue, 08 Feb 2022)
Log Message
Cherry-pick r289076. rdar://problem/88269480
Unreviewed, remove UnlinkedMetadataTable::offsetInMetadataTable since it is no longer used
https://bugs.webkit.org/show_bug.cgi?id=236063
Follow-up after Saam's comment.
* bytecode/UnlinkedMetadataTable.h:
(JSC::UnlinkedMetadataTable::offsetInMetadataTable): Deleted.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@289076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-613-branch/Source/_javascript_Core/ChangeLog (289413 => 289414)
--- branches/safari-613-branch/Source/_javascript_Core/ChangeLog 2022-02-08 19:55:31 UTC (rev 289413)
+++ branches/safari-613-branch/Source/_javascript_Core/ChangeLog 2022-02-08 19:55:33 UTC (rev 289414)
@@ -1,5 +1,29 @@
2022-02-08 Russell Epstein <[email protected]>
+ Cherry-pick r289076. rdar://problem/88269480
+
+ Unreviewed, remove UnlinkedMetadataTable::offsetInMetadataTable since it is no longer used
+ https://bugs.webkit.org/show_bug.cgi?id=236063
+
+ Follow-up after Saam's comment.
+
+ * bytecode/UnlinkedMetadataTable.h:
+ (JSC::UnlinkedMetadataTable::offsetInMetadataTable): Deleted.
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@289076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-02-03 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, remove UnlinkedMetadataTable::offsetInMetadataTable since it is no longer used
+ https://bugs.webkit.org/show_bug.cgi?id=236063
+
+ Follow-up after Saam's comment.
+
+ * bytecode/UnlinkedMetadataTable.h:
+ (JSC::UnlinkedMetadataTable::offsetInMetadataTable): Deleted.
+
+2022-02-08 Russell Epstein <[email protected]>
+
Cherry-pick r289037. rdar://problem/88269480
[JSC] Use MetadataTable instead of UnlinkedMetadataTable
Modified: branches/safari-613-branch/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h (289413 => 289414)
--- branches/safari-613-branch/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h 2022-02-08 19:55:31 UTC (rev 289413)
+++ branches/safari-613-branch/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h 2022-02-08 19:55:33 UTC (rev 289414)
@@ -64,17 +64,6 @@
return adoptRef(*new UnlinkedMetadataTable);
}
- template <typename Opcode>
- uintptr_t offsetInMetadataTable(const Opcode& opcode)
- {
- ASSERT(m_isFinalized);
- // UnlinkedMetadataTable can be realloc-ed from the mutator thread, thus, it is not OK to touch this table from non mutator thread if the mutator thread is running.
- ASSERT(!isCompilationThread() && !Thread::mayBeGCThread());
- uintptr_t baseTypeOffset = m_is32Bit ? offsetTable32()[Opcode::opcodeID] : offsetTable16()[Opcode::opcodeID];
- baseTypeOffset = roundUpToMultipleOf(alignof(typename Opcode::Metadata), baseTypeOffset);
- return baseTypeOffset + sizeof(typename Opcode::Metadata) * opcode.m_metadataID;
- }
-
template <typename Bytecode>
unsigned numEntries();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes