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
  • SymbolTable.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Clean up TSymbol initialization · 476197f9
    Olli Etuaho authored Oct 11, 2016
    Now TSymbol objects always get their id when they are constructed. The
    id cannot be changed after the TSymbol is created.
    
    This makes it simpler to insert both mangled and unmangled versions of
    a function to the symbol table. These can now both share the same
    TSymbol object, unlike before, when inserting the same symbol twice
    would have changed its symbol id.
    
    This requires changes to function definition parsing: function
    definition nodes now share any symbol created by previous prototype
    declarations of the function. The parameters on the symbol get set to
    the parameters in the function definition header.
    
    BUG=angleproject:1490
    TEST=angle_unittests
    
    Change-Id: I8e600e9b5e5de27d64b85c5042cfd23ff02abe63
    Reviewed-on: https://chromium-review.googlesource.com/396838Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    476197f9
SymbolTable.cpp 10.5 KB
EditWeb IDE
×

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