/[jscoverage]/trunk/instrument-js.c
ViewVC logotype

Diff of /trunk/instrument-js.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 354 by siliconforks, Fri Oct 24 16:18:54 2008 UTC revision 355 by siliconforks, Fri Oct 24 16:19:11 2008 UTC
# Line 761  Line 761 
761      break;      break;
762    case TOK_YIELD:    case TOK_YIELD:
763      assert(node->pn_arity == PN_UNARY);      assert(node->pn_arity == PN_UNARY);
764      Stream_write_string(f, "yield ");      Stream_write_string(f, "yield");
765      instrument_expression(node->pn_kid, f);      if (node->pn_kid != NULL) {
766          Stream_write_char(f, ' ');
767          instrument_expression(node->pn_kid, f);
768        }
769      break;      break;
770    case TOK_ARRAYCOMP:    case TOK_ARRAYCOMP:
771      assert(node->pn_arity == PN_LIST);      assert(node->pn_arity == PN_LIST);

Legend:
Removed from v.354  
changed lines
  Added in v.355

  ViewVC Help
Powered by ViewVC 1.1.24