Ignore:
Timestamp:
Nov 14, 2008, 9:49:56 AM (17 years ago)
Author:
[email protected]
Message:

2008-11-14 Cameron Zwarich <[email protected]>

Reviewed by Darin Adler.

Bug 22245: Move wtf/dtoa.h into the WTF namespace
<https://bugs.webkit.org/show_bug.cgi?id=22245>

Move wtf/dtoa.h into the WTF namespace from the JSC namespace. This
introduces some ambiguities in name lookups, so I changed all uses of
the functions in wtf/dtoa.h to explicitly state the namespace.

JavaScriptCore:

  • JavaScriptCore.exp:
  • parser/Lexer.cpp: (JSC::Lexer::lex):
  • runtime/InitializeThreading.cpp:
  • runtime/JSGlobalObjectFunctions.cpp: (JSC::parseInt):
  • runtime/NumberPrototype.cpp: (JSC::integerPartNoExp): (JSC::numberProtoFuncToExponential):
  • runtime/UString.cpp: (JSC::concatenate): (JSC::UString::from): (JSC::UString::toDouble):
  • wtf/dtoa.cpp:
  • wtf/dtoa.h:

WebCore:

  • platform/text/String.cpp: (WebCore::charactersToDouble):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/Lexer.cpp

    r38221 r38390  
    478478    double dval = 0;
    479479    if (m_state == Number)
    480         dval = strtod(m_buffer8.data(), 0L);
     480        dval = WTF::strtod(m_buffer8.data(), 0L);
    481481    else if (m_state == Hex) { // scan hex numbers
    482482        const char* p = m_buffer8.data() + 2;
Note: See TracChangeset for help on using the changeset viewer.