summaryrefslogtreecommitdiff
path: root/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/method.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vm/method.hpp b/src/vm/method.hpp
index 9a20af2212..698af78d70 100644
--- a/src/vm/method.hpp
+++ b/src/vm/method.hpp
@@ -1243,7 +1243,8 @@ public:
!IsEnCMethod() &&
HasNativeCodeSlot() &&
!IsUnboxingStub() &&
- !IsInstantiatingStub();
+ !IsInstantiatingStub() &&
+ !IsDynamicMethod();
// We should add an exclusion for modules with debuggable code gen flags