Skip to content

Commit

Permalink
Make all single line getter functions in State class inline functions.
Browse files Browse the repository at this point in the history
Having getter functions in the State class non-inline results in more generated code to call the function than it'd take to just fetch the value from the class. For those cases inline the getter functions to reduce calling overhead and binary size.

Bug: angleproject:2973

Change-Id: Iddd14fd836ee89de69cdabfd58b95bcedc7e9e4e
Reviewed-on: https://chromium-review.googlesource.com/c/1340220
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
  • Loading branch information
mtavenrath authored and Commit Bot committed Nov 19, 2018
1 parent fde74c0 commit 774fe56
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 363 deletions.
Loading

0 comments on commit 774fe56

Please sign in to comment.