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