Permalink
Browse files

Use proper condition for native method frame name

  • Loading branch information...
1 parent b7619b9 commit 6a1077459539a88d1ceffcc8583eae7de2a6c99f @dbussink dbussink committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vm/call_frame.cpp
View
@@ -83,7 +83,7 @@ namespace rubinius {
if(NativeMethodFrame* nmf = cf->native_method_frame()) {
NativeMethod* nm = try_as<NativeMethod>(nmf->get_object(nmf->method()));
- if(nm && !nm->name()->symbol_p()) {
+ if(nm && nm->name()->symbol_p()) {
stream << "capi:" << nm->name()->debug_str(state) << " at ";
stream << nm->file()->c_str(state);
} else {

0 comments on commit 6a10774

Please sign in to comment.