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
  • compiler
  • translator
  • RegenerateStructNames.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Don't duplicate symbol type information in AST nodes · 2c9cc8b6
    Olli Etuaho authored Jan 09, 2018
    Function prototype nodes and symbol nodes already refer to symbols
    that have type information, so the type doesn't need to be copied to
    the TInterm* AST node classes. Now type is only stored in those AST
    node classes that represent other types of expressions. They use
    a new TIntermExpression base class for this.
    
    Since now we may use the TType from builtin symbols directly instead
    of copying it, building the mangled names of types in the correct
    memory pool is also required. The code now realizes the types of
    built-in variables when they get added to the symbol table.
    
    BUG=angleproject:2267
    TEST=angle_unittests
    
    Change-Id: Ic8d7fc912937cb8abb1e306e58c63bb9c146aae9
    Reviewed-on: https://chromium-review.googlesource.com/857005Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    2c9cc8b6
RegenerateStructNames.cpp 2.55 KB
EditWeb IDE
×

Replace RegenerateStructNames.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.