1. 25 Aug, 2010 3 commits
  2. 24 Aug, 2010 7 commits
    • barraclough@apple.com's avatar
      Windows build fix. · d80c23c8
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d80c23c8
    • barraclough@apple.com's avatar
      Windows build fix. · 3f640ba9
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * wtf/DecimalNumber.h:
      (WTF::DecimalNumber::intPow10):
      * wtf/dtoa.cpp:
      * wtf/dtoa.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f640ba9
    • barraclough@apple.com's avatar
      JavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=44487 · 798f064d
      barraclough@apple.com authored
      Reviewed by Oliver Hunt.
      
      Number.toExponential/toFixed/toPrecision all contain a spaghetti of duplicated
      code & unnecessary complexity. Add a new DecimalNumber class to encapsulate
      double to string conversion, share the implementations of rounding &
      decimal-fraction/exponential formatting.
      
      * JavaScriptCore.exp:
          Update exports.
      
      * runtime/NumberPrototype.cpp:
      (JSC::toThisNumber):
      (JSC::getIntegerArgumentInRange):
          Helper methods used in implementing toExponential/toFixed/toString.
      (JSC::numberProtoFuncToExponential):
      (JSC::numberProtoFuncToFixed):
      (JSC::numberProtoFuncToPrecision):
          Reimplemented using new DecimalNumber class.
                  
      * runtime/UString.cpp:
      (JSC::UString::number):
          Updated to call numberToString.
      
      * wtf/DecimalNumber.h: Added.
      (WTF::):
      (WTF::DecimalNumber::DecimalNumber):
      (WTF::DecimalNumber::toStringDecimal):
      (WTF::DecimalNumber::toStringExponential):
      (WTF::DecimalNumber::sign):
      (WTF::DecimalNumber::exponent):
      (WTF::DecimalNumber::significand):
      (WTF::DecimalNumber::precision):
      (WTF::DecimalNumber::init):
      (WTF::DecimalNumber::isZero):
      (WTF::DecimalNumber::roundToPrecision):
          New class to perform double to string conversion.
          Has three constructors, which allow conversion with no rounding,
          rounding to significant-figures, or rounding to decimal-places,
          and two methods for formatting strings, either using decimal
          fraction or exponential encoding. Internal implementation uses
          pre-rounding of the values before calling dtoa rather than
          relying on dtoa to correctly round, which does not produce
          fully accurate results. Hopefully we can address this in the
          near future.
      
      * wtf/dtoa.cpp:
      (WTF::intPow10):
      * wtf/dtoa.h:
          intPow10 is used internally by DecimalNumber.
                  
      * wtf/text/WTFString.cpp:
      (WTF::copyToString):
      (WTF::nanOrInfToString):
          Used internally in numberToString for NaN/Infinity handling.
      (WTF::numberToString):
          Added new method to convert doubles to strings.
      
      * wtf/text/WTFString.h:
          Added declaration for numberToString. This is here because
          we should switch over to using this for all double to string
          conversion in WebCore (see section 2.4.4.3 of the HTML5 spec).
      
      JavaScriptGlue: https://bugs.webkit.org/show_bug.cgi?id=44487
      
      Reviewed by Oliver Hunt.
      
      * ForwardingHeaders/wtf/text/WTFString.h: Added.
      
      WebCore: https://bugs.webkit.org/show_bug.cgi?id=44487
      
      Reviewed by Oliver Hunt.
      
      * html/LegacyHTMLTreeBuilder.cpp:
      (WebCore::serializeForNumberType):
          Update function call to numberToString.
      
      LayoutTests: Bug 44487 - Clean up NumberPrototype.cpp
      
      Reviewed by Oliver Hunt.
      
      This patch changes some layout test results - in all these cases we were
      not previously accurate to spec defined behaviour, and we are still not
      - but overall this changes reduces the overall magnitude of error due to
      rounding differences. The underlying problem is that we should be using
      dtoa to generate results to a specified accuracy, rather than relying on
      pre-rounding the input values. We should look at reenabling our dtoa
      implementation to work in this fashion as a separate change.
      
      * fast/js/kde/Number-expected.txt:
      * fast/js/kde/script-tests/Number.js:
      * fast/js/number-toExponential-expected.txt:
      * fast/js/number-tofixed-expected.txt:
      * fast/js/number-toprecision-expected.txt:
      * fast/js/script-tests/number-toExponential.js:
      * fast/js/script-tests/number-tofixed.js:
      * fast/js/script-tests/number-toprecision.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      798f064d
    • oliver@apple.com's avatar
      2010-08-24 Oliver Hunt <oliver@apple.com> · a27a7a70
      oliver@apple.com authored
              Reviewed by Geoff Garen.
      
              Don't seed the JS random number generator from time()
              https://bugs.webkit.org/show_bug.cgi?id=41868
              <rdar://problem/8171025>
      
              Switch to using the secure random number generator to
              seed the fast random generator, and make the generator
              be per global object.
      
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              * runtime/JSGlobalData.h:
              * runtime/JSGlobalObject.h:
              (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData):
              (JSC::JSGlobalObject::weakRandomNumber):
              * runtime/MathObject.cpp:
              (JSC::mathProtoFuncRandom):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a27a7a70
    • oliver@apple.com's avatar
      2010-08-24 Oliver Hunt <oliver@apple.com> · 8f76c6e5
      oliver@apple.com authored
              Reviewed by Beth Dakin.
      
              Make overflow guards in UString::utf8 explicit
              https://bugs.webkit.org/show_bug.cgi?id=44540
      
              Add an explicit overflow check prior to allocating our buffer,
              rather than implicitly relying on the guard in convertUTF16ToUTF8.
      
              * runtime/UString.cpp:
              (JSC::UString::utf8):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f76c6e5
    • hausmann@webkit.org's avatar
      [Symbian] Fix commit/decommit of system memory using RChunk · 93b26c34
      hausmann@webkit.org authored
      Patch by Yael Aharon <yael.aharon@nokia.com> on 2010-08-24
      Reviewed by Simon Hausmann.
      
      Swap accidentially reversed start and m_base values for determining the
      offset within the RChunk.
      
      * wtf/PageReservation.h:
      (WTF::PageReservation::systemCommit):
      (WTF::PageReservation::systemDecommit):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93b26c34
    • loki@webkit.org's avatar
      [WINCE] Buildfix for GeneratedJITStubs after r64818 · 968535cf
      loki@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=44469
      
      Patch by Patrick Gansterer <paroga@paroga.com> on 2010-08-23
      Rubber-stamped by Gabor Loki.
      
      Use " THUNK_RETURN_ADDRESS_OFFSET" instead of "#offset#".
      
      * jit/JITStubs.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      968535cf
  3. 23 Aug, 2010 4 commits
    • oliver@apple.com's avatar
      2010-08-23 Oliver Hunt <oliver@apple.com> · 54a2716a
      oliver@apple.com authored
              Reviewed by Darin Adler.
      
              [REGRESSION] Interpreter incorrectly excludes prototype chain when validating put_by_id_transition
              https://bugs.webkit.org/show_bug.cgi?id=44240
              <rdar://problem/8328995>
      
              Fix an error I introduced when cleaning up the interpreter side of the logic
              to prevent setters being called in object initialisers.
      
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::privateExecute):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54a2716a
    • commit-queue@webkit.org's avatar
      2010-08-23 Michael Saboff <msaboff@apple.com> · 1b4173b6
      commit-queue@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Fixed case where a single character search string in a string.replace()
              did not properly handle back reference replacement.  The fix is to
              check for a '$' as part of the check to see if we can execute the
              single character replace optimization.
              https://bugs.webkit.org/show_bug.cgi?id=44067
      
              * runtime/StringPrototype.cpp:
              (JSC::stringProtoFuncReplace):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b4173b6
    • oliver@apple.com's avatar
      2010-08-23 Oliver Hunt <oliver@apple.com> · ec087e20
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              JSON.stringify is much slower than Firefox on particular pathological input
              https://bugs.webkit.org/show_bug.cgi?id=44456
      
              Make StringBuilder::reserveCapacity reserve additional space so we don't end up
              repeatedly copying the entire result string.
      
              * runtime/StringBuilder.h:
              (JSC::StringBuilder::append):
              (JSC::StringBuilder::reserveCapacity):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec087e20
    • jianli@chromium.org's avatar
      Handle blob resource. · 4c6124fe
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43941
      
      Reviewed by Darin Fisher.
      
      JavaScriptCore:
      
      * JavaScriptCore.exp: Add an export that is neede by BlobResourceHandle.
      
      WebCore:
      
      To provide lower level blob reosurce handling for all possible ports,
      BlobResourceHandle derived from ResourceHandle is implemented. It provides
      both synchronous and asynchronous resource loading for blob URL.
      
      BlobResourceHandle needs to create a FileStreamProxy instance in order to
      asynchronous file stream operation. To achive this, a hook createAsyncFileStream
      is added to ResourceHandleClient interface. When ResourceLoader implements
      ths hook, it creates and returns FileStreamProxy.
      
      BlobResourceHandle.* is not added to chromium port since it will implement
      its own blob resource handling.
      
      * Android.mk:
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * loader/ResourceLoader.cpp:
      (WebCore::ResourceLoader::createAsyncFileStream): Create and return FileStreamProxy.
      * loader/ResourceLoader.h:
      * page/SecurityOrigin.cpp: Add the support to get and validate the origin of blob URL.
      (WebCore::SecurityOrigin::create):
      (WebCore::SecurityOrigin::canLoad):
      * platform/network/BlobRegistryImpl.cpp:
      (WebCore::BlobRegistryImpl::appendStorageItems): Fix a bug that the length is not subtracted.
      * platform/network/BlobResourceHandle.cpp: Added.
      * platform/network/BlobResourceHandle.h: Added.
      * platform/network/HTTPParsers.cpp:
      (WebCore::parseRange):
      * platform/network/HTTPParsers.h:
      * platform/network/ResourceHandle.cpp: Hook up with asynchronous blob resource handling.
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceHandle.h:
      * platform/network/ResourceHandleClient.h:
      (WebCore::ResourceHandleClient::createAsyncFileStream): Add a hook.
      * platform/network/mac/ResourceHandleMac.mm:
      (WebCore::ResourceHandle::loadResourceSynchronously): Hook up with synchronous blob resource handling.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c6124fe
  4. 19 Aug, 2010 1 commit
  5. 18 Aug, 2010 6 commits
    • andreas.kling@nokia.com's avatar
      2010-08-18 Andreas Kling <andreas.kling@nokia.com> · e13e5153
      andreas.kling@nokia.com authored
              Reviewed by Geoffrey Garen.
      
              REGRESSION(r58469): Math.pow() always returns double-backed JSValue which is extremely slow as array subscript
              https://bugs.webkit.org/show_bug.cgi?id=43742
      
              Add codegen for pow() to return Int32 values when possible.
      
              * jit/ThunkGenerators.cpp:
              (JSC::powThunkGenerator):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e13e5153
    • loki@webkit.org's avatar
      2010-08-18 Gabor Loki <loki@webkit.org> · b3af2235
      loki@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              The JITStackFrame is wrong using Thumb-2 JIT with JSVALUE32_64
              https://bugs.webkit.org/show_bug.cgi?id=43897
      
              A 64 bits wide member in a structure is aligned to 8 bytes on ARM by
              default, but this is not taken into account in the offset defines of
              JITStackFrame.
      
              * jit/JITStubs.cpp:
              * jit/JITStubs.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3af2235
    • barraclough@apple.com's avatar
      Rename UString::substr to substringSharingImpl, add to WTF::String. · 846dfcf4
      barraclough@apple.com authored
      Now WTF::String can do everything that JSC::UString can do!
      
      Rubber stamped by Sam Weinig.
      
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.cpp:
      (JSC::escapeQuotes):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::substitute):
      * parser/SourceProvider.h:
      (JSC::UStringSourceProvider::getRange):
      * runtime/FunctionPrototype.cpp:
      (JSC::insertSemicolonIfNeeded):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::parseInt):
      * runtime/JSONObject.cpp:
      (JSC::gap):
      (JSC::Stringifier::indent):
      (JSC::Stringifier::unindent):
      * runtime/JSString.cpp:
      (JSC::JSString::replaceCharacter):
      * runtime/NumberPrototype.cpp:
      (JSC::numberProtoFuncToFixed):
      (JSC::numberProtoFuncToPrecision):
      * runtime/StringPrototype.cpp:
      (JSC::stringProtoFuncReplace):
      (JSC::trimString):
      * runtime/UString.cpp:
      (JSC::UString::substringSharingImpl):
      * runtime/UString.h:
      * wtf/text/WTFString.cpp:
      (WTF::String::substringSharingImpl):
      * wtf/text/WTFString.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      846dfcf4
    • barraclough@apple.com's avatar
      Windows build fix. · 7e429a0b
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e429a0b
    • barraclough@apple.com's avatar
      Windows build fix. · 2d1ce443
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d1ce443
    • barraclough@apple.com's avatar
      Bug 44146 - Remove toDouble/toUInt32 methods from UString. · 794f4617
      barraclough@apple.com authored
      Reviewed by Sam Weinig.
      
      JavaScriptCore: 
      
      These methods all implement JavaScript language specific behaviour, and as such
      are not suited to being on a generic string object.  They are also inefficient
      and incorrectly used, refactor & cleanup.  Uses of these methods really divide
      out into two cases.
      
      ToNumber:
      Uses of toDouble from JSString and from parseFloat are implementing ecma's
      ToNumber conversion from strings (see ecma-262 9.3.1), so UString::toDouble
      should largely just be moved out to a global jsToNumber function.  ToNumber is
      capable of recognizing either decimal or hexadecimal numbers, but parseFloat
      should only recognize decimal values.  This is currently handled by testing for
      hexadecimal before calling toDouble, which should unnecessary - instead we can
      just split out the two parts to the grammar into separate functions. Also,
      strtod recognizes a set of literals (nan, inf, and infinity - all with any
      capitalization) - which are not defined by any of the specs we are implementing.
      To handle this we need to perform additional work in toDouble to convert the
      unsupported cases of infinities back to NaNs.  Instead we should simply remove
      support for this literals from strtod.  This should provide a more desirable
      behaviour for all clients of strtod.
      
      Indexed properties:
      Uses of the toStrictUInt32 methods are were all converting property names to
      indices, and all uses of toUInt32 were incorrect; in all cases we should have
      been calling toUInt32.  This error results in some incorrect behaviour in the
      DOM (accessing property "0 " of a NodeList should fail; it currently does not).
      Move this method onto Identifier (our canonical property name), and make it
      always perform a strict conversion. Add a layout test to check NodeList does
      convert indexed property names correctly.
      
      * JavaScriptCore.exp:
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::put):
      (JSC::Arguments::deleteProperty):
      * runtime/Identifier.cpp:
      (JSC::Identifier::toUInt32):
      * runtime/Identifier.h:
      (JSC::Identifier::toUInt32):
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      (JSC::Identifier::toArrayIndex):
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::getOwnPropertySlot):
      (JSC::JSByteArray::getOwnPropertyDescriptor):
      (JSC::JSByteArray::put):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::isInfinity):
      (JSC::jsHexIntegerLiteral):
      (JSC::jsStrDecimalLiteral):
      (JSC::jsToNumber):
      (JSC::parseFloat):
      * runtime/JSGlobalObjectFunctions.h:
      * runtime/JSString.cpp:
      (JSC::JSString::getPrimitiveNumber):
      (JSC::JSString::toNumber):
      (JSC::JSString::getStringPropertyDescriptor):
      * runtime/JSString.h:
      (JSC::JSString::getStringPropertySlot):
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::put):
      * runtime/StringObject.cpp:
      (JSC::StringObject::deleteProperty):
      * runtime/UString.cpp:
      * runtime/UString.h:
      * wtf/dtoa.cpp:
      (WTF::strtod):
      
      WebCore: 
      
      These methods all implement JavaScript language specific behaviour, and as such
      are not suited to being on a generic string object.  They are also inefficient
      and incorrectly used, refactor & cleanup.  Uses of these methods really divide
      out into two cases.
      
      ToNumber:
      Uses of toDouble from JSString and from parseFloat are implementing ecma's
      ToNumber conversion from strings (see ecma-262 9.3.1), so UString::toDouble
      should largely just be moved out to a global jsToNumber function.  ToNumber is
      capable of recognizing either decimal or hexadecimal numbers, but parseFloat
      should only recognize decimal values.  This is currently handled by testing for
      hexadecimal before calling toDouble, which should unnecessary - instead we can
      just split out the two parts to the grammar into separate functions. Also,
      strtod recognizes a set of literals (nan, inf, and infinity - all with any
      capitalization) - which are not defined by any of the specs we are implementing.
      To handle this we need to perform additional work in toDouble to convert the
      unsupported cases of infinities back to NaNs.  Instead we should simply remove
      support for this literals from strtod.  This should provide a more desirable
      behaviour for all clients of strtod.
      
      Indexed properties:
      Uses of the toStrictUInt32 methods are were all converting property names to
      indices, and all uses of toUInt32 were incorrect; in all cases we should have
      been calling toUInt32.  This error results in some incorrect behaviour in the
      DOM (accessing property "0 " of a NodeList should fail; it currently does not).
      Move this method onto Identifier (our canonical property name), and make it
      always perform a strict conversion. Add a layout test to check NodeList does
      convert indexed property names correctly.
      
      Test: fast/dom/NodeList/nodelist-item-with-index.html
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      * bindings/js/JSHTMLAllCollectionCustom.cpp:
      (WebCore::callHTMLAllCollection):
      (WebCore::JSHTMLAllCollection::item):
      * bindings/js/JSHTMLCollectionCustom.cpp:
      (WebCore::callHTMLCollection):
      (WebCore::JSHTMLCollection::item):
      * bindings/js/JSNodeListCustom.cpp:
      (WebCore::callNodeList):
      * bindings/scripts/CodeGeneratorJS.pm:
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::put):
      
      LayoutTests: 
      
      Test that indexing into nodelists works correctly, particularly
      wrt indices passed as strings that contain whitespace.
      
      * fast/dom/NodeList/nodelist-item-with-index-expected.txt: Added.
      * fast/dom/NodeList/nodelist-item-with-index.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      794f4617
  6. 17 Aug, 2010 3 commits
  7. 16 Aug, 2010 5 commits
    • barraclough@apple.com's avatar
      Add VectorTraits to String & DefaultHash traits to UString to unify behaviour. · 2b3f9c54
      barraclough@apple.com authored
      Rubber stamped by Sam Weinig
      
      * runtime/UString.h:
      (JSC::UStringHash::hash):
      (JSC::UStringHash::equal):
      (WTF::):
      * wtf/text/WTFString.h:
      (WTF::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b3f9c54
    • barraclough@apple.com's avatar
      Remove unnecessary includes from UString.h, add new includes as necessary. · 79b4e283
      barraclough@apple.com authored
      Rubber stamped by Sam Weinig
      
      JavaScriptCore: 
      
      * profiler/CallIdentifier.h:
      * profiler/ProfileNode.h:
      * runtime/DateConversion.cpp:
      * runtime/Identifier.h:
      (JSC::IdentifierRepHash::hash):
      * runtime/RegExpCache.h:
      * runtime/RegExpKey.h:
      * runtime/UString.cpp:
      (JSC::UString::substr):
      * runtime/UString.h:
      * wtf/text/WTFString.h:
      
      WebCore: 
      
      * dom/ScriptExecutionContext.h:
      * loader/appcache/ApplicationCache.cpp:
      
      WebKit2: 
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79b4e283
    • barraclough@apple.com's avatar
      Bug 44080 - String find/reverseFind methods need tidying up · d643fdea
      barraclough@apple.com authored
      These methods have a couple of problems with their interface, and implementation.
      
      Reviewed by Sam Weinig
      
      These methods take and int index, and return an int - however this is problematic
      since on 64-bit string indices may have a full 32-bit range.  This spills out into
      surrounding code, which unsafely casts string indices from unsigned to int. Code
      checking the result of these methods check for a mix of "== -1", "< 0", and
      "== notFound".  Clean this up by changing these methods to take an unsigned
      starting index, and return a size_t. with a failed match indicated by notFound.
      reverseFind also has a special meaning for the starting index argument, in that a
      negative index is interpreted as an offset back from the end of the string. Remove
      this functionality, in the (1!) case where it is used we should just calculate the
      offset by subtracting from the string's length.
      
      The implementation has a few problems too.  The code is not in webkit style, in
      using assorted abbreviations in variable names, and implementations of similar
      find methods with differing argument types were unnecessarily inconsistent. When
      find is passed const char* data the string would be handled as latin1 (zero
      extended to UTF-16) for all characters but the first; this is sign extended.
      Case-insensitive find is broken for unicode strings; the hashing optimization is
      not unicode safe, and could result in false negatives.
      
      Unify UString find methods to match String.
      
      JavaScriptCore: 
      
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.cpp:
      (JSC::escapeQuotes):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::substitute):
      * runtime/JSString.cpp:
      (JSC::JSString::replaceCharacter):
      * runtime/RegExp.cpp:
      (JSC::RegExp::RegExp):
      * runtime/RegExpKey.h:
      (JSC::RegExpKey::getFlagsValue):
      * runtime/StringPrototype.cpp:
      (JSC::substituteBackreferencesSlow):
      (JSC::substituteBackreferences):
      (JSC::stringProtoFuncReplace):
      (JSC::stringProtoFuncIndexOf):
      (JSC::stringProtoFuncLastIndexOf):
      (JSC::stringProtoFuncSplit):
      * runtime/UString.cpp:
      * runtime/UString.h:
      (JSC::UString::find):
      (JSC::UString::reverseFind):
      * wtf/text/AtomicString.h:
      (WTF::AtomicString::find):
      * wtf/text/StringImpl.cpp:
      (WTF::StringImpl::find):
      (WTF::StringImpl::findCaseInsensitive):
      (WTF::StringImpl::reverseFind):
      (WTF::StringImpl::reverseFindCaseInsensitive):
      (WTF::StringImpl::endsWith):
      (WTF::StringImpl::replace):
      * wtf/text/StringImpl.h:
      (WTF::StringImpl::startsWith):
      * wtf/text/WTFString.cpp:
      (WTF::String::split):
      * wtf/text/WTFString.h:
      (WTF::String::find):
      (WTF::String::reverseFind):
      (WTF::String::findCaseInsensitive):
      (WTF::String::reverseFindCaseInsensitive):
      (WTF::String::contains):
      (WTF::find):
      (WTF::reverseFind):
      
      WebCore: 
      
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::RareData::parseNth):
      * css/CSSStyleDeclaration.cpp:
      (WebCore::CSSStyleDeclaration::setProperty):
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
      * dom/Document.cpp:
      (WebCore::Document::getImageMap):
      * editing/CompositeEditCommand.cpp:
      (WebCore::CompositeEditCommand::inputText):
      * editing/InsertTextCommand.cpp:
      (WebCore::InsertTextCommand::input):
      * editing/TextIterator.cpp:
      (WebCore::TextIterator::handleTextBox):
      * editing/TypingCommand.cpp:
      (WebCore::TypingCommand::insertText):
      * editing/markup.cpp:
      (WebCore::fillContainerFromString):
      (WebCore::createFragmentFromText):
      * html/File.cpp:
      (WebCore::File::Init):
      * html/HTMLAnchorElement.cpp:
      (WebCore::HTMLAnchorElement::setHost):
      * html/HTMLEmbedElement.cpp:
      (WebCore::HTMLEmbedElement::parseMappedAttribute):
      * html/HTMLFormControlElement.cpp:
      (WebCore::HTMLTextFormControlElement::isPlaceholderEmpty):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::parseMappedAttribute):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::performSearch):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::parseAccessControlAllowList):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::substituteMIMETypeFromPluginDatabase):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::parseHeader):
      (WebCore::parseHeaders):
      * loader/icon/IconFetcher.cpp:
      (WebCore::parseIconLink):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::parseModalDialogFeatures):
      * page/SecurityOrigin.cpp:
      (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
      * page/UserContentURLPattern.cpp:
      (WebCore::UserContentURLPattern::parse):
      * page/XSSAuditor.cpp:
      (WebCore::XSSAuditor::findInRequest):
      * platform/ContentType.cpp:
      (WebCore::ContentType::parameter):
      (WebCore::ContentType::type):
      * platform/KURL.cpp:
      (WebCore::KURL::lastPathComponent):
      (WebCore::KURL::setProtocol):
      (WebCore::decodeURLEscapeSequences):
      (WebCore::substituteBackslashes):
      (WebCore::mimeTypeFromDataURL):
      * platform/Length.cpp:
      (WebCore::newCoordsArray):
      (WebCore::newLengthArray):
      * platform/LinkHash.cpp:
      (WebCore::findSlashDotDotSlash):
      (WebCore::findSlashSlash):
      (WebCore::findSlashDotSlash):
      (WebCore::cleanPath):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getMIMETypeForPath):
      * platform/SchemeRegistry.cpp:
      (WebCore::SchemeRegistry::shouldTreatURLAsLocal):
      * platform/graphics/MediaPlayer.cpp:
      (WebCore::MediaPlayer::load):
      * platform/mac/DragImageMac.mm:
      (WebCore::createDragImageIconForCachedImage):
      * platform/network/CredentialStorage.cpp:
      (WebCore::protectionSpaceMapKeyFromURL):
      (WebCore::findDefaultProtectionSpaceForURL):
      * platform/network/HTTPParsers.cpp:
      (WebCore::skipWhiteSpace):
      (WebCore::skipToken):
      (WebCore::parseHTTPRefresh):
      (WebCore::filenameFromHTTPContentDisposition):
      (WebCore::findCharsetInMediaType):
      (WebCore::parseXSSProtectionHeader):
      (WebCore::extractReasonPhraseFromHTTPStatusLine):
      * platform/network/ResourceResponseBase.cpp:
      (WebCore::ResourceResponseBase::isAttachment):
      (WebCore::parseCacheHeader):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::updateWidget):
      * storage/Entry.cpp:
      (WebCore::Entry::Entry):
      * svg/SVGFont.cpp:
      (WebCore::isCompatibleGlyph):
      * svg/SVGURIReference.cpp:
      (WebCore::SVGURIReference::getTarget):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::parseClockValue):
      (WebCore::SVGSMILElement::parseCondition):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::FunSubstringBefore::evaluate):
      (WebCore::XPath::FunSubstringAfter::evaluate):
      (WebCore::XPath::FunTranslate::evaluate):
      (WebCore::XPath::FunLang::evaluate):
      * xml/XPathParser.cpp:
      (WebCore::XPath::Parser::expandQName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d643fdea
    • kevino@webkit.org's avatar
      [wx] Build fix, do not build WebCore as a convenience library as this leads to · 289ba9cc
      kevino@webkit.org authored
      errors in the Win build w/export symbols and causes problems with DOM bindings
      debugging in gdb. 
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      289ba9cc
    • leandro@webkit.org's avatar
      2010-08-16 Leandro Pereira <leandro@profusion.mobi> · 02b64d12
      leandro@webkit.org authored
              [EFL] Build fix after r65366.
      
              * CMakeLists.txt: Use if (VAR) instead of if (${VAR}) to check if
              they're empty.
              * jsc/CMakeLists.txt: Ditto.
              * wtf/CMakeLists.txt: Ditto.
      2010-08-16  Leandro Pereira  <leandro@profusion.mobi>
      
              [EFL] Build fix after r65366.
      
              * CMakeLists.txt: Use if (VAR) instead of if (${VAR}) to check if
              they're empty.
      2010-08-16  Leandro Pereira  <leandro@profusion.mobi>
      
              [EFL] Build fix after r65366.
      
              EFL port does not support automated tests yet.
      
              * CMakeLists.txt: Use if (VAR) instead of if (${VAR}) to check if
              they're empty.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02b64d12
  8. 15 Aug, 2010 1 commit
  9. 14 Aug, 2010 2 commits
  10. 13 Aug, 2010 8 commits
    • kevino@webkit.org's avatar
      [wx] Build fix, add CString to the list of forwards. · c6d63fa0
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6d63fa0
    • barraclough@apple.com's avatar
      Windows build fix · 44a8e522
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44a8e522
    • barraclough@apple.com's avatar
      Windows build fix · 0959eca9
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0959eca9
    • barraclough@apple.com's avatar
      Windows build fix · 9c8d1723
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c8d1723
    • barraclough@apple.com's avatar
      Switch String::/UString::ascii() to return a CString. · 99428fc0
      barraclough@apple.com authored
      Rubber stamped by Sam Weinig.
      
      JavaScriptCore: 
      
      * JavaScriptCore.exp:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * interpreter/CallFrame.cpp:
      (JSC::CallFrame::dumpCaller):
      * jsc.cpp:
      (runWithScripts):
      (runInteractive):
      * runtime/Identifier.h:
      (JSC::Identifier::ascii):
      * runtime/ScopeChain.cpp:
      (JSC::ScopeChainNode::print):
      * runtime/UString.cpp:
      (JSC::UString::ascii):
      (JSC::UString::latin1):
      * runtime/UString.h:
      * wtf/text/StringImpl.cpp:
      (WTF::StringImpl::asciiOLD):
      * wtf/text/StringImpl.h:
      * wtf/text/WTFString.cpp:
      (WTF::String::ascii):
      (WTF::String::latin1):
      * wtf/text/WTFString.h:
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * bridge/c/c_class.cpp:
      (JSC::Bindings::CClass::methodsNamed):
      (JSC::Bindings::CClass::fieldNamed):
      * bridge/jni/jsc/JNIBridgeJSC.cpp:
      (JavaField::valueFromInstance):
      (JavaField::setValueToInstance):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaInstance::invokeMethod):
      * bridge/objc/objc_class.mm:
      (JSC::Bindings::ObjcClass::methodsNamed):
      (JSC::Bindings::ObjcClass::fieldNamed):
      * bridge/objc/objc_instance.mm:
      (ObjcInstance::setValueOfUndefinedField):
      (ObjcInstance::getValueOfUndefinedField):
      * loader/icon/IconRecord.cpp:
      * platform/sql/SQLiteDatabase.cpp:
      * platform/sql/SQLiteStatement.cpp:
      * storage/SQLStatement.cpp:
      
      WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj:
      
      WebKit/mac: 
      
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99428fc0
    • loki@webkit.org's avatar
      Avoid increasing required alignment of target type warning on ARM · 7534a3fa
      loki@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=38045
      
      Reviewed by Gavin Barraclough.
      
      The reinterpret_cast<Type1*>([pointer to Type2]) expressions - where
      sizeof(Type1) > sizeof(Type2) - cause the following warning on ARM:
      increases required alignment of target type warnings.
      Casting the type of [pointer to Type2] object to void* bypasses the
      warning.
      
      * JavaScriptCore/assembler/ARMAssembler.cpp:
      (JSC::ARMAssembler::executableCopy):
      * JavaScriptCore/assembler/AssemblerBuffer.h:
      (JSC::AssemblerBuffer::putShortUnchecked):
      (JSC::AssemblerBuffer::putIntUnchecked):
      (JSC::AssemblerBuffer::putInt64Unchecked):
      * JavaScriptCore/interpreter/RegisterFile.h:
      (JSC::RegisterFile::RegisterFile):
      (JSC::RegisterFile::grow):
      * JavaScriptCore/jit/JITStubs.cpp:
      * JavaScriptCore/pcre/pcre_compile.cpp:
      (jsRegExpCompile):
      * JavaScriptCore/runtime/JSArray.cpp:
      (JSC::JSArray::putSlowCase):
      (JSC::JSArray::increaseVectorLength):
      (JSC::JSArray::increaseVectorPrefixLength):
      (JSC::JSArray::shiftCount):
      (JSC::JSArray::unshiftCount):
      * JavaScriptCore/wtf/FastMalloc.cpp:
      (WTF::PageHeapAllocator::New):
      (WTF::TCMalloc_Central_FreeList::Populate):
      * wtf/MD5.cpp:
      (WTF::reverseBytes):
      (WTF::MD5::addBytes):
      (WTF::MD5::checksum):
      * JavaScriptCore/wtf/StdLibExtras.h:
      (isPointerTypeAlignmentOkay):
      (reinterpret_cast_ptr):
      * JavaScriptCore/wtf/Vector.h:
      (WTF::VectorBuffer::inlineBuffer):
      * JavaScriptCore/wtf/qt/StringQt.cpp:
      (WTF::String::String):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7534a3fa
    • barraclough@apple.com's avatar
      Unify UString::UTF8String() & String::utf8() methods, · 3158a387
      barraclough@apple.com authored
      remove UString::cost() & make atArrayIndex a free function.
      
      Reviewed by Sam Weinig
      
      JavaScriptCore: 
      
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.cpp:
      (JSC::constantName):
      (JSC::idName):
      (JSC::CodeBlock::registerName):
      (JSC::regexpName):
      (JSC::printGlobalResolveInfo):
      (JSC::printStructureStubInfo):
      (JSC::CodeBlock::printStructure):
      (JSC::CodeBlock::printStructures):
      * jsc.cpp:
      (functionPrint):
      (functionDebug):
      (runInteractive):
      (fillBufferWithContentsOfFile):
      * pcre/pcre_exec.cpp:
      (Histogram::~Histogram):
      * profiler/CallIdentifier.h:
      (JSC::CallIdentifier::c_str):
      * profiler/Profile.cpp:
      (JSC::Profile::debugPrintDataSampleStyle):
      * profiler/ProfileGenerator.cpp:
      (JSC::ProfileGenerator::willExecute):
      (JSC::ProfileGenerator::didExecute):
      * profiler/ProfileNode.cpp:
      (JSC::ProfileNode::debugPrintData):
      (JSC::ProfileNode::debugPrintDataSampleStyle):
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::put):
      (JSC::Arguments::deleteProperty):
      * runtime/DateConversion.cpp:
      (JSC::parseDate):
      * runtime/Identifier.h:
      (JSC::Identifier::toStrictUInt32):
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      (JSC::toArrayIndex):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::encode):
      (JSC::parseInt):
      (JSC::globalFuncJSCPrint):
      * runtime/JSString.h:
      (JSC::RopeBuilder::JSString):
      * runtime/UString.cpp:
      (JSC::UString::toDouble):
      (JSC::putUTF8Triple):
      (JSC::UString::utf8):
      * runtime/UString.h:
      (JSC::UString::~UString):
      (JSC::UString::isNull):
      (JSC::UString::isEmpty):
      (JSC::UString::impl):
      * wtf/text/WTFString.cpp:
      (WTF::String::utf8):
      * wtf/text/WTFString.h:
      (WTF::String::~String):
      (WTF::String::swap):
      (WTF::String::isNull):
      (WTF::String::isEmpty):
      (WTF::String::impl):
      (WTF::String::length):
      (WTF::String::String):
      (WTF::String::isHashTableDeletedValue):
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      * bridge/NP_jsobject.cpp:
      (_NPN_Enumerate):
      * bridge/c/c_utility.cpp:
      (JSC::Bindings::convertValueToNPVariant):
      * bridge/jni/JNIBridge.cpp:
      (JavaParameter::JavaParameter):
      (JavaMethod::JavaMethod):
      (JavaMethod::signature):
      (JavaMethod::methodID):
      * bridge/jni/JNIBridge.h:
      (JSC::Bindings::JavaString::utf8):
      (JSC::Bindings::JavaParameter::type):
      (JSC::Bindings::JavaMethod::returnType):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::call):
      (JavaJSObject::eval):
      (JavaJSObject::getMember):
      (JavaJSObject::setMember):
      (JavaJSObject::removeMember):
      (JavaJSObject::convertJObjectToValue):
      * bridge/jni/jsc/JNIBridgeJSC.cpp:
      (JavaField::JavaField):
      (JavaField::valueFromInstance):
      (JavaField::setValueToInstance):
      * bridge/jni/jsc/JNIBridgeJSC.h:
      (JSC::Bindings::JavaField::type):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaInstance::invokeMethod):
      * bridge/jni/jsc/JavaStringJSC.h:
      (JSC::Bindings::JavaStringImpl::utf8):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::put):
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::enumerate):
      
      WebKit/wx: 
      
      * WebFrame.cpp:
      (wxWebFrame::RunScript):
      
      WebKit2: 
      
      * WebProcess/Plugins/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      * WebProcess/Plugins/NPJSObject.cpp:
      (WebKit::NPJSObject::enumerate):
      * WebProcess/Plugins/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3158a387
    • zherczeg@webkit.org's avatar
      Refactoring the fpu code generator for the ARM port · b6994145
      zherczeg@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43842
      
      Reviewed by Gavin Barraclough.
      
      Support up to 32 double precision registers, and the
      recent VFP instruction formats. This patch is mainly
      a style change which keeps the current functionality.
      
      * assembler/ARMAssembler.h:
      (JSC::ARMRegisters::):
      (JSC::ARMAssembler::):
      (JSC::ARMAssembler::emitInst):
      (JSC::ARMAssembler::emitDoublePrecisionInst):
      (JSC::ARMAssembler::emitSinglePrecisionInst):
      (JSC::ARMAssembler::vadd_f64_r):
      (JSC::ARMAssembler::vdiv_f64_r):
      (JSC::ARMAssembler::vsub_f64_r):
      (JSC::ARMAssembler::vmul_f64_r):
      (JSC::ARMAssembler::vcmp_f64_r):
      (JSC::ARMAssembler::vsqrt_f64_r):
      (JSC::ARMAssembler::vmov_vfp_r):
      (JSC::ARMAssembler::vmov_arm_r):
      (JSC::ARMAssembler::vcvt_f64_s32_r):
      (JSC::ARMAssembler::vcvt_s32_f64_r):
      (JSC::ARMAssembler::vmrs_apsr):
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::addDouble):
      (JSC::MacroAssemblerARM::divDouble):
      (JSC::MacroAssemblerARM::subDouble):
      (JSC::MacroAssemblerARM::mulDouble):
      (JSC::MacroAssemblerARM::sqrtDouble):
      (JSC::MacroAssemblerARM::convertInt32ToDouble):
      (JSC::MacroAssemblerARM::branchDouble):
      (JSC::MacroAssemblerARM::branchConvertDoubleToInt32):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6994145