Skip to content

Commit

Permalink
Mark GetCachedInvokable inlinable
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Aug 11, 2024
1 parent cea6dd6 commit 3a08eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmobjects/VMSymbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class VMSymbol : public VMString {
long nextCachePos;
GCInvokable* cachedInvokable[3];

VMInvokable* GetCachedInvokable(const VMClass* cls) const {
inline VMInvokable* GetCachedInvokable(const VMClass* cls) const {
if (cls == load_ptr(cachedClass_invokable[0])) {
return load_ptr(cachedInvokable[0]);
} else if (cls == load_ptr(cachedClass_invokable[1])) {
Expand Down

0 comments on commit 3a08eea

Please sign in to comment.