Changeset 38133 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Nov 5, 2008, 11:51:35 AM (17 years ago)
Author:
[email protected]
Message:

2008-11-05 Geoffrey Garen <[email protected]>

Suggested by Darin Adler.


Removed two copy constructors that the compiler can generate for us
automatically.

  • VM/LabelID.h: (JSC::LabelID::setLocation): (JSC::LabelID::offsetFrom): (JSC::LabelID::ref): (JSC::LabelID::refCount):
  • kjs/LabelScope.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/LabelScope.h

    r38047 r38133  
    5151        }
    5252
    53         // It doesn't really make sense to copy a LabelScope, but we need this copy
    54         // constructor to support moving LabelScopes in a Vector.
    55 
    56         LabelScope(const LabelScope& other)
    57             : m_refCount(other.m_refCount)
    58             , m_type(other.m_type)
    59             , m_name(other.m_name)
    60             , m_scopeDepth(other.m_scopeDepth)
    61             , m_breakTarget(other.m_breakTarget)
    62             , m_continueTarget(other.m_continueTarget)
    63         {
    64         }
    65 
    6653        void ref() { ++m_refCount; }
    6754        void deref()
Note: See TracChangeset for help on using the changeset viewer.