11/*
2- ** $Id: lcode.c,v 2.89 2014/04/29 18:14:16 roberto Exp roberto $
2+ ** $Id: lcode.c,v 2.90 2014/05/08 18:58:46 roberto Exp roberto $
33** Code generator for Lua
44** See Copyright Notice in lua.h
55*/
@@ -107,7 +107,7 @@ static void fixjump (FuncState *fs, int pc, int dest) {
107107
108108
109109/*
110- ** returns current ` pc' and marks it as a jump target (to avoid wrong
110+ ** returns current ' pc' and marks it as a jump target (to avoid wrong
111111** optimizations with consecutive instructions not in the same basic block).
112112*/
113113int luaK_getlabel (FuncState * fs ) {
@@ -230,7 +230,7 @@ void luaK_concat (FuncState *fs, int *l1, int l2) {
230230
231231static int luaK_code (FuncState * fs , Instruction i ) {
232232 Proto * f = fs -> f ;
233- dischargejpc (fs ); /* ` pc' will change */
233+ dischargejpc (fs ); /* ' pc' will change */
234234 /* put new instruction in code array */
235235 luaM_growvector (fs -> ls -> L , f -> code , fs -> pc , f -> sizecode , Instruction ,
236236 MAX_INT , "opcodes" );
@@ -503,7 +503,7 @@ static void discharge2anyreg (FuncState *fs, expdesc *e) {
503503static void exp2reg (FuncState * fs , expdesc * e , int reg ) {
504504 discharge2reg (fs , e , reg );
505505 if (e -> k == VJMP )
506- luaK_concat (fs , & e -> t , e -> u .info ); /* put this jump in ` t' list */
506+ luaK_concat (fs , & e -> t , e -> u .info ); /* put this jump in ' t' list */
507507 if (hasjumps (e )) {
508508 int final ; /* position after whole expression */
509509 int p_f = NO_JUMP ; /* position of an eventual LOAD false */
@@ -677,7 +677,7 @@ void luaK_goiftrue (FuncState *fs, expdesc *e) {
677677 break ;
678678 }
679679 }
680- luaK_concat (fs , & e -> f , pc ); /* insert last jump in ` f' list */
680+ luaK_concat (fs , & e -> f , pc ); /* insert last jump in ' f' list */
681681 luaK_patchtohere (fs , e -> t );
682682 e -> t = NO_JUMP ;
683683}
@@ -700,7 +700,7 @@ void luaK_goiffalse (FuncState *fs, expdesc *e) {
700700 break ;
701701 }
702702 }
703- luaK_concat (fs , & e -> t , pc ); /* insert last jump in ` t' list */
703+ luaK_concat (fs , & e -> t , pc ); /* insert last jump in ' t' list */
704704 luaK_patchtohere (fs , e -> f );
705705 e -> f = NO_JUMP ;
706706}
@@ -831,7 +831,7 @@ static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1,
831831 freeexp (fs , e2 );
832832 freeexp (fs , e1 );
833833 if (cond == 0 && op != OP_EQ ) {
834- int temp ; /* exchange args to replace by ` <' or ` <=' */
834+ int temp ; /* exchange args to replace by ' <' or ' <=' */
835835 temp = o1 ; o1 = o2 ; o2 = temp ; /* o1 <==> o2 */
836836 cond = 1 ;
837837 }
@@ -865,7 +865,7 @@ void luaK_infix (FuncState *fs, BinOpr op, expdesc *v) {
865865 break ;
866866 }
867867 case OPR_CONCAT : {
868- luaK_exp2nextreg (fs , v ); /* operand must be on the ` stack' */
868+ luaK_exp2nextreg (fs , v ); /* operand must be on the ' stack' */
869869 break ;
870870 }
871871 case OPR_ADD : case OPR_SUB :
0 commit comments