Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix is_runtime to unbust backtrace stuff in some cases.
  • Loading branch information
jnthn committed Aug 31, 2012
1 parent b79e158 commit 119716f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -137,12 +137,12 @@ do {
return True if nqp::iseq_s($bt[$_]<sub>, 'eval')
&& nqp::iseq_s(
nqp::join(';', $bt[$_]<sub>.get_namespace.get_name),
'nqp;HLL;Compiler'
'nqp'
);
return False if nqp::iseq_s($bt[$_]<sub>, 'compile')
&& nqp::iseq_s(
nqp::join(';', $bt[$_]<sub>.get_namespace.get_name),
'nqp;HLL;Compiler'
'nqp'
);
}
}
Expand Down

0 comments on commit 119716f

Please sign in to comment.