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
  • Initialize.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Guarantee that symbol nodes get unique ids · 2d88e9bc
    Olli Etuaho authored Jul 21, 2017
    The code is refactored so that symbol nodes can only be initialized
    with an unique id object. This prevents accidentally forgetting to
    create an id for a symbol node.
    
    This opens up possibilities for future optimization: For example the
    names and types of symbols could be stored in a central location
    inside the SymbolTable, and TIntermSymbol nodes would only need to
    store the symbol id. The symbol id could be used to look up the name
    and type of the node.
    
    BUG=angleproject:1490
    TEST=angle_unittests
    
    Change-Id: Ib8c8675d31493037a5a28c7b36bb9d1113cc10f6
    Reviewed-on: https://chromium-review.googlesource.com/580955Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    2d88e9bc
Initialize.cpp 62.4 KB
EditWeb IDE
×

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