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
    Fold user-definedness of function nodes into TOperator · 1ecd14b8
    Olli Etuaho authored Jan 26, 2017
    Whether a function call is user-defined is not orthogonal to TOperator
    associated with the call node - other ops than function calls can't be
    user-defined. Because of this it makes sense to store the user-
    definedness by having different TOperator enums for different types of
    calls.
    
    This patch also tags internal helper functions that have a raw
    definition outside the AST with a separate TOperator enum. This way
    they can be handled with logic that is easy to understand. Before this,
    function calls like this left the user-defined bit unset, despite not
    really being built-ins either. The EmulatePrecision traverser uses
    this. This is also something that could be used to clean up built-in
    emulation in the future.
    
    BUG=angleproject:1490
    TEST=angle_unittests
    
    Change-Id: I597fcd9789d0cc22b689ef3ce5a0cc3f621d4859
    Reviewed-on: https://chromium-review.googlesource.com/433443Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    1ecd14b8
SymbolTable.cpp 18.1 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.