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
  • ExpressionLimit_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Disallow user-defined function calls in global variable init · ce39f6ff
    Olli Etuaho authored Jul 06, 2015
    Generate an error message when an user-defined function call is found in
    a global variable initializer.
    
    Even before this patch, the call graph already marked functions that were
    only called from the global scope as unused.
    
    This change was tested extensively with popular WebGL content, with no
    regressions found.
    
    TEST=angle_unittests
    BUG=angleproject:988
    
    Change-Id: Iec1b16d2af386f1e5c383f86926d80cef553b694
    Reviewed-on: https://chromium-review.googlesource.com/283291Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    ce39f6ff
ExpressionLimit_test.cpp 14.8 KB
EditWeb IDE
×

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