void push(ResultType type)
 {
     if(controlStack.back().isReachable && type != ResultType::none) {
         push(asValueType(type));
     }
 }
Esempio n. 2
0
		void pushOperand(ResultType type)
		{
			if(type != ResultType::none) { pushOperand(asValueType(type)); }
		}
 void popAndValidateResultType(ResultType expectedType)
 {
     if(expectedType != ResultType::none) {
         popAndValidateOperands(asValueType(expectedType));
     }
 }
Esempio n. 4
0
		void popAndValidateResultType(const char* context,ResultType expectedType)
		{
			if(expectedType != ResultType::none) { popAndValidateOperand(context,asValueType(expectedType)); }
		}