Exemplo n.º 1
0
        private void InitImpl(CallNode node, VariableMap map)
        {
            Init(node, map);

            _willAlloc.CopyFrom(node.UsedArgs);
            _willSpill.Reset();
        }
Exemplo n.º 2
0
        private void InitImpl(CodeNode node, VariableMap map)
        {
            Init(node, map);

            // These will block planner from assigning them during planning. Planner will
            // add more registers when assigning registers to variables that don't need
            // any specific register.
            _willAlloc.CopyFrom(map.InRegs);
            _willAlloc.Or(map.OutRegs);
            _willSpill.Reset();
        }