Skip to content
Browse files

Formatting changes.

  • Loading branch information...
1 parent d0b9036 commit 3eff3afad4d6193fd2c8067dade045b8d9b8d556 @pjcj committed Oct 9, 2006
Showing with 5 additions and 2 deletions.
  1. +5 −2 Cover.xs
View
7 Cover.xs
@@ -197,7 +197,8 @@ static char *get_key(OP *o)
uniq.op.op.op_ppaddr = 0; /* we mess with this field */
uniq.ch[CH_SZ] = 0;
- /* TODO - this shouldn't be necessary, should it? It is a hack
+ /*
+ * TODO - this shouldn't be necessary, should it? It is a hack
* because things are breaking with null chars in the key. Replace
* them with "-".
*/
@@ -785,12 +786,14 @@ static int runops_cover(pTHX)
PL_op->op_type == OP_ENTERSUB &&
PL_op->op_next)
{
- /* If we are jumping somewhere we might not be collecting
+ /*
+ * If we are jumping somewhere we might not be collecting
* coverage there, so store where we will be coming back to
* so we can turn on coverage straight away. We need to
* store more than one return op because a non collecting
* sub may call back to a collecting sub.
*/
+
hv_fetch(Return_ops, get_key(PL_op->op_next), CH_SZ, 1);
NDEB(D(L, "adding return op %p\n", PL_op->op_next));
}

0 comments on commit 3eff3af

Please sign in to comment.
Something went wrong with that request. Please try again.