/[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 380 by siliconforks, Wed Oct 29 00:10:22 2008 UTC revision 387 by siliconforks, Thu Oct 30 03:14:12 2008 UTC
# Line 550  Line 550 
550    case TOK_UNARYOP:    case TOK_UNARYOP:
551      switch (node->pn_op) {      switch (node->pn_op) {
552      case JSOP_NEG:      case JSOP_NEG:
553        Stream_write_char(f, '-');        Stream_write_string(f, "- ");
554        output_expression(node->pn_kid, f, false);        output_expression(node->pn_kid, f, false);
555        break;        break;
556      case JSOP_POS:      case JSOP_POS:
557        Stream_write_char(f, '+');        Stream_write_string(f, "+ ");
558        output_expression(node->pn_kid, f, false);        output_expression(node->pn_kid, f, false);
559        break;        break;
560      case JSOP_NOT:      case JSOP_NOT:
561        Stream_write_char(f, '!');        Stream_write_string(f, "! ");
562        output_expression(node->pn_kid, f, false);        output_expression(node->pn_kid, f, false);
563        break;        break;
564      case JSOP_BITNOT:      case JSOP_BITNOT:
565        Stream_write_char(f, '~');        Stream_write_string(f, "~ ");
566        output_expression(node->pn_kid, f, false);        output_expression(node->pn_kid, f, false);
567        break;        break;
568      case JSOP_TYPEOF:      case JSOP_TYPEOF:

Legend:
Removed from v.380  
changed lines
  Added in v.387

  ViewVC Help
Powered by ViewVC 1.1.24