Browse Source

Remove old commented code

mingodad 6 years ago
parent
commit
44646de1a7
1 changed files with 0 additions and 4 deletions
  1. 0 4
      SquiLu/squirrel/sqfuncstate.cpp

+ 0 - 4
SquiLu/squirrel/sqfuncstate.cpp

@@ -502,7 +502,6 @@ void SQFuncState::AddInstruction(SQInstruction &i)
 		break;
 		case _OP_GET:
 			if( pi.op == _OP_LOAD && pi._arg0 == i._arg2 && (!IsLocal(pi._arg0))){
-				//pi._arg1 = pi._arg1;
 				pi._arg2 = (unsigned char)i._arg1;
 				pi.op = _OP_GETK;
 				pi._arg0 = i._arg0;
@@ -514,7 +513,6 @@ void SQFuncState::AddInstruction(SQInstruction &i)
 			if( pi.op == _OP_LOAD  && pi._arg0 == i._arg1 && (!IsLocal(pi._arg0))){
 				pi.op = _OP_PREPCALLK;
 				pi._arg0 = i._arg0;
-				//pi._arg1 = pi._arg1;
 				pi._arg2 = i._arg2;
 				pi._arg3 = i._arg3;
 				return;
@@ -532,7 +530,6 @@ void SQFuncState::AddInstruction(SQInstruction &i)
 			if(aat != -1 && pi._arg0 == i._arg1 && (!IsLocal(pi._arg0))){
 				pi.op = _OP_APPENDARRAY;
 				pi._arg0 = i._arg0;
-				//pi._arg1 = pi._arg1;
 				pi._arg2 = (unsigned char)aat;
 				pi._arg3 = MAX_FUNC_STACKSIZE;
 				return;
@@ -574,7 +571,6 @@ void SQFuncState::AddInstruction(SQInstruction &i)
 			{
 				pi.op = i.op;
 				pi._arg0 = i._arg0;
-				//pi._arg1 = pi._arg1;
 				pi._arg2 = i._arg2;
 				pi._arg3 = MAX_FUNC_STACKSIZE;
 				return;