Created
August 19, 2010 06:27
-
-
Save thieso2/537216 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/perftools.c b/ext/perftools.c | |
index e6f97f1..ace2e01 100644 | |
--- a/ext/perftools.c | |
+++ b/ext/perftools.c | |
@@ -159,6 +159,8 @@ static VALUE Isend; | |
case VM_FRAME_MAGIC_CFUNC: | |
self = cfp->self; | |
#ifdef HAVE_METHOD_H | |
+ if (! cfp->me) break; | |
+ | |
klass = cfp->me->klass; | |
method = cfp->me->called_id; | |
#else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment