Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a4953367188c2f7f3888aa7e868a4e84848f16c
      
https://github.com/WebKit/WebKit/commit/3a4953367188c2f7f3888aa7e868a4e84848f16c
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGGraph.cpp
    M Source/JavaScriptCore/runtime/ProfilerSupport.cpp
    M Source/JavaScriptCore/runtime/ProfilerSupport.h
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
    M Tools/IonGraph/src/iongraph.ts
    M Tools/IonGraph/src/style.css
    M Tools/IonGraph/www/main.ts
    M Websites/webkit.org/demos/iongraph/index.html
    M Websites/webkit.org/demos/iongraph/main.js
    M Websites/webkit.org/demos/iongraph/main.js.map
    M Websites/webkit.org/demos/iongraph/main.standalone.js
    M Websites/webkit.org/demos/iongraph/standalone.html
    M Websites/webkit.org/demos/iongraph/style.css

  Log Message:
  -----------
  [JSC] Support tier string in IonGraph
https://bugs.webkit.org/show_bug.cgi?id=312848
rdar://175217842

Reviewed by Yijia Huang.

This patch adds "tier" and "osr" field to IonGraph, so we can represent
compilation tier like "OMG", "FTL".

* Source/JavaScriptCore/dfg/DFGGraph.cpp:
(JSC::DFG::Graph::Graph):
(JSC::DFG::Graph::dumpAndReleaseIonGraph):
* Source/JavaScriptCore/runtime/ProfilerSupport.cpp:
(JSC::ProfilerSupport::dumpIonGraphFunction):
* Source/JavaScriptCore/runtime/ProfilerSupport.h:
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::parseAndCompileOMG):
* Tools/IonGraph/src/iongraph.ts:
* Tools/IonGraph/src/style.css:
(.ig-highlight):
(.ig-tier-badge):
(.ig-tier-badge[data-tier="DFG"]):
(.ig-tier-badge[data-tier="FTL"]):
(.ig-tier-badge[data-tier="OMG"]):
(.ig-osr-badge):
* Tools/IonGraph/www/main.ts:
* Websites/webkit.org/demos/iongraph/index.html:
* Websites/webkit.org/demos/iongraph/main.js:
(migrateFunc):
* Websites/webkit.org/demos/iongraph/main.js.map:
* Websites/webkit.org/demos/iongraph/main.standalone.js:
(iongraph):
(iongraph.ft):
(iongraph.gt):
(iongraph.bt):
(iongraph.kt):
(iongraph.yt):
(iongraph.V):
(iongraph.O):
(iongraph.w):
(iongraph.T):
(iongraph.xt):
(iongraph.wt):
(iongraph.b):
(iongraph.C):
(iongraph.I):
(iongraph.A.prototype.add):
(iongraph.A.prototype.onTweak):
(iongraph.A.):
(iongraph.get F.):
(iongraph.get F.makeLayoutNodes.t):
(iongraph.get F.straightenEdges):
(iongraph.get F.prototype.render):
(iongraph.get F.prototype.renderMIRInstruction):
(iongraph.get F.prototype.renderLIRInstruction):
(iongraph.get F.prototype.renderSelection):
(iongraph.get F.prototype.removeNonexistentHighlights):
(iongraph.get F.prototype.updateHighlightedInstructions):
(iongraph.get F.prototype.updateHotness):
(iongraph.get F.prototype.addEventListeners):
(iongraph.get F.prototype.setSelection):
(iongraph.get F.prototype.setSelectionRaw):
(iongraph.get F.prototype.navigate):
(iongraph.get F.prototype.toggleInstructionHighlight):
(iongraph.get F.prototype.clampTranslation):
(iongraph.get F.prototype.updatePanAndZoom):
(iongraph.get F.prototype.graph2viewport):
(iongraph.get F.prototype.viewport2graph):
(iongraph.get F.prototype.async goToGraphCoordinates):
(iongraph.get F.prototype.jumpToBlock):
(iongraph.get F.prototype.async jumpToInstruction):
(iongraph.get F.prototype.graphPosToCenterRect):
(iongraph.get F.prototype.exportState):
(iongraph.get F.prototype.restoreState):
(iongraph.Et):
(iongraph.t):
(iongraph.Ht):
(iongraph.Ot):
(iongraph.X):
(iongraph.ot):
(iongraph.At):
(iongraph.H.):
(iongraph.get 
F.renderBlock.colgroup.this.sampleCounts.thead.tr.th.th.th.th.th.Total.th.th):
(iongraph.H.prototype.destroy):
(iongraph.H.prototype.update):
(iongraph.H.prototype.switchPass):
(iongraph.H.prototype.keydownHandler):
(iongraph.H.prototype.tweakHandler):
(iongraph.z.):
(iongraph.z):
(iongraph.z.prototype.async fileSelected):
(iongraph.z.prototype.switchIonJSON):
(iongraph.z.prototype.switchFunc):
(iongraph.z.prototype.numFunctions):
(iongraph.z.prototype.update):
(iongraph.z.prototype.async exportStandalone):
(iongraph.K.):
(iongraph.K):
(iongraph.K.prototype.update):
(iongraph.K.prototype.loadStuffFromQueryParams):
(iongraph.K.prototype.async switchFunc):
(iongraph.U.):
(iongraph.U):
(iongraph.U.prototype.update):
(iongraph.U.prototype.setIonJSON):
(iongraph.U.prototype.switchFunc):
(iongraph.A): Deleted.
(iongraph.B): Deleted.
(iongraph.O.prototype.add): Deleted.
(iongraph.O.prototype.onTweak): Deleted.
(iongraph.O.): Deleted.
* Websites/webkit.org/demos/iongraph/standalone.html:
* Websites/webkit.org/demos/iongraph/style.css:
(.ig-highlight):
(.ig-tier-badge):
(.ig-tier-badge[data-tier="DFG"]):
(.ig-tier-badge[data-tier="FTL"]):
(.ig-tier-badge[data-tier="OMG"]):
(.ig-osr-badge):

Canonical link: https://commits.webkit.org/311714@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to