TempNewSymbol should have correct copy and assignment functions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • b105

        // Operator= increments reference count.
        void operator=(const TempNewSymbol &s) {
          //clear(); //FIXME
          _temp = s._temp;
          if (_temp !=NULL) _temp->increment_refcount();
        }

      But this is also missing a copy constructor.

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: