Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • compiler_tests
  • PruneUnusedFunctions_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Prefer identifying functions by using symbol ids · fe48632f
    Olli Etuaho authored Mar 21, 2017
    The shader translator code is now structured in a way that ensures
    that all function definition, function prototype and function call
    nodes store the integer symbol id for the function. This is guaranteed
    regardless of whether the function node is added while parsing or as a
    result of an AST transformation. TIntermAggregate nodes, which include
    function calls and constructors can now only be created by calling one
    of the TIntermAggregate::Create*() functions to ensure they have all
    the necessary properties.
    
    This makes it possible to keep track of functions using integer ids
    instead of their mangled name strings when generating the call graph
    and when using TLValueTrackingTraverser.
    
    This commit includes a few other small cleanups to the CallDAG class
    as well.
    
    BUG=angleproject:1490
    TEST=angle_unittests, angle_end2end_tests
    
    Change-Id: Idd1013506cbe4c3380e20d90524a9cd09b890259
    Reviewed-on: https://chromium-review.googlesource.com/459603Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    fe48632f
PruneUnusedFunctions_test.cpp 2.66 KB
EditWeb IDE
×

Replace PruneUnusedFunctions_test.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.