Changeset 1852 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Aug 16, 2002, 12:21:57 PM (23 years ago)
Author:
darin
Message:

Fix the Development build.

  • kjs/object.cpp: Take out a use of ReferenceType.
  • kjs/ustring.h: Added a bit more inlining.
  • kjs/ustring.cpp: Moved the function out of here.
Location:
trunk/JavaScriptCore/kjs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/object.cpp

    r1837 r1852  
    194194{
    195195  assert(!value.isNull());
    196   assert(value.type() != ReferenceType);
    197196  assert(value.type() != CompletionType);
    198197  assert(value.type() != ListType);
  • trunk/JavaScriptCore/kjs/ustring.cpp

    r1825 r1852  
    114114}
    115115
    116 UChar UChar::null;
     116UChar UChar::null((char)0);
    117117UString::Rep UString::Rep::null = { 0, 0, 0, 1 };
    118118UString::Rep UString::Rep::empty = { 0, 0, 0, 1 };
     
    121121static char *statBuffer = 0;
    122122static int statBufferSize = 0;
    123 
    124 UChar::UChar(const UCharReference &c)
    125     : uc( c.unicode() )
    126 {
    127 }
    128123
    129124UChar UChar::toLower() const
  • trunk/JavaScriptCore/kjs/ustring.h

    r1825 r1852  
    170170  };
    171171
     172  inline UChar::UChar(const UCharReference &c) : uc(c.unicode()) { }
     173
    172174  /**
    173175   * @short 8 bit char based string class
Note: See TracChangeset for help on using the changeset viewer.