Exemplo n.º 1
0
        private static void CompileAssign(FunctionCompiler compiler, FunctionalNode assignNode)
        {
            VariableReference assignee = assignNode.InputTerminals.ElementAt(0).GetTrueVariable(),
                              value    = assignNode.InputTerminals.ElementAt(1).GetTrueVariable();

            compiler.CopyValueToReferencedAddress(assignee, value, assignee.Type.GetReferentType());
        }