/[jscoverage]/trunk/js/jsemit.h
ViewVC logotype

Diff of /trunk/js/jsemit.h

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

revision 332 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC
# Line 66  Line 66 
66      STMT_LABEL,                 /* labeled statement:  L: s */      STMT_LABEL,                 /* labeled statement:  L: s */
67      STMT_IF,                    /* if (then) statement */      STMT_IF,                    /* if (then) statement */
68      STMT_ELSE,                  /* else clause of if statement */      STMT_ELSE,                  /* else clause of if statement */
69      STMT_BODY,                  /* synthetic body of function with      STMT_SEQ,                   /* synthetic sequence of statements */
                                    destructuring formal parameters */  
70      STMT_BLOCK,                 /* compound statement: { s1[;... sN] } */      STMT_BLOCK,                 /* compound statement: { s1[;... sN] } */
71      STMT_SWITCH,                /* switch statement */      STMT_SWITCH,                /* switch statement */
72      STMT_WITH,                  /* with statement */      STMT_WITH,                  /* with statement */
# Line 590  Line 589 
589                                     or a destructuring object initialiser */                                     or a destructuring object initialiser */
590      SRC_GENEXP      = 1,        /* JSOP_ANONFUNOBJ from generator expression */      SRC_GENEXP      = 1,        /* JSOP_ANONFUNOBJ from generator expression */
591      SRC_IF_ELSE     = 2,        /* JSOP_IFEQ bytecode is from an if-then-else */      SRC_IF_ELSE     = 2,        /* JSOP_IFEQ bytecode is from an if-then-else */
592      SRC_WHILE       = 3,        /* JSOP_IFEQ is from a while loop */      SRC_FOR_IN      = 2,        /* JSOP_GOTO to for-in loop condition from
593      SRC_FOR         = 4,        /* JSOP_NOP or JSOP_POP in for loop head */                                     before loop (same arity as SRC_IF_ELSE) */
594        SRC_FOR         = 3,        /* JSOP_NOP or JSOP_POP in for(;;) loop head */
595        SRC_WHILE       = 4,        /* JSOP_GOTO to for or while loop condition
596                                       from before loop, else JSOP_NOP at top of
597                                       do-while loop */
598      SRC_CONTINUE    = 5,        /* JSOP_GOTO is a continue, not a break;      SRC_CONTINUE    = 5,        /* JSOP_GOTO is a continue, not a break;
599                                     also used on JSOP_ENDINIT if extra comma                                     also used on JSOP_ENDINIT if extra comma
600                                     at end of array literal: [1,2,,] */                                     at end of array literal: [1,2,,] */

Legend:
Removed from v.332  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.24