From eea057675de7914af12c6168db0f3bebea35be5b Mon Sep 17 00:00:00 2001 From: Eugene Rozenfeld Date: Sun, 16 Dec 2018 12:07:42 -0800 Subject: Improve removal of dead calls to allocator helpers. This change improves detection of allocators with side effects. Allocators can cause side effects if the allocated object may have a finalizer. This change adds a pHasSideEffects parameter to getNewHelper JitEE interface method. It's used by the jit to check for allocator side effects instead of guessing from helper ids. Fixes #21530. --- src/vm/methodtable.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vm/methodtable.h') diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h index 395d0502f8..bbdfc90623 100644 --- a/src/vm/methodtable.h +++ b/src/vm/methodtable.h @@ -4159,6 +4159,11 @@ public: // Is field layout of the inheritance chain fixed within the current version bubble? // BOOL IsInheritanceChainLayoutFixedInCurrentVersionBubble(); + + // + // Is the inheritance chain fixed within the current version bubble? + // + BOOL IsInheritanceChainFixedInCurrentVersionBubble(); #endif }; // class MethodTable -- cgit v1.2.3