| 855 | m_gen.Function.SetAddress(goto_skip, m_gen.Function.GetCurrentAddress()); |
| 856 | } |
| 857 | void HLSLCompiler::translateMemberAccess(M4::HLSLMemberAccess* expr) |
| 858 | { |
| 859 | bool temp_isSet = m_isSet, temp_usePointer = m_usePointer; |
| 860 | m_isSet = false; |
| 861 | m_usePointer = true; |
| 862 | translateExpression(expr->object); |
| 863 | m_isSet = temp_isSet; |
| 864 | m_usePointer = temp_usePointer; |
| 865 | |
| 866 | if (m_isSet) m_gen.Function.SetProperty(expr->field); |
| 867 | else { |
| 868 | if (m_usePointer) m_gen.Function.GetPropertyPointer(expr->field); |
| 869 | else m_gen.Function.GetProperty(expr->field); |
| 870 | } |
| 871 | } |
| 872 | void HLSLCompiler::translateMethodCall(M4::HLSLMethodCall* expr) |
| 873 | { |
| 874 | // arguments |
nothing calls this directly
no outgoing calls
no test coverage detected