1. 02 Oct, 2009 1 commit
  2. 01 Oct, 2009 5 commits
  3. 30 Sep, 2009 5 commits
  4. 29 Sep, 2009 8 commits
  5. 28 Sep, 2009 13 commits
    • mrowe@apple.com's avatar
      Fix the PowerPC build. · ceef3bfb
      mrowe@apple.com authored
      * JavaScriptCore.exp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ceef3bfb
    • mrowe@apple.com's avatar
      <rdar://problem/7195704> JavaScriptCore fails to mark registers when built for... · abdf4c0d
      mrowe@apple.com authored
      <rdar://problem/7195704> JavaScriptCore fails to mark registers when built for x86_64 using LLVM GCC.
      
      Reviewed by Gavin Barraclough.
      
      * runtime/Collector.cpp:
      (JSC::Heap::markCurrentThreadConservatively): Force jmp_buf to use the appropriate alignment for a pointer
      to ensure that we correctly interpret the contents of registers during marking.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abdf4c0d
    • ggaren@apple.com's avatar
      Windows build fix: added new exports. · 570d6dec
      ggaren@apple.com authored
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-28
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      570d6dec
    • mrowe@apple.com's avatar
    • ggaren@apple.com's avatar
      Windows build fix: removed exports that no longer exist. · 937f3d16
      ggaren@apple.com authored
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-28
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      937f3d16
    • ggaren@apple.com's avatar
      NotNullPassRefPtr: smart pointer optimized for passing references that are not null · 6740e6f2
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29822
              
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-28
      Reviewed by Darin Adler.
      
      JavaScriptCore: 
      
      Added NotNullPassRefPtr, and deployed it in all places that initialize
      JavaScript objects.
              
      2.2% speedup on bench-allocate-nonretained.js.
      
      * API/JSCallbackConstructor.cpp:
      (JSC::JSCallbackConstructor::JSCallbackConstructor):
      * API/JSCallbackConstructor.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::JSCallbackObject::JSCallbackObject):
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::addFunctionDecl):
      (JSC::CodeBlock::addFunctionExpr):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::ArrayConstructor):
      * runtime/ArrayConstructor.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::ArrayPrototype):
      * runtime/ArrayPrototype.h:
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::BooleanConstructor):
      * runtime/BooleanConstructor.h:
      * runtime/BooleanObject.cpp:
      (JSC::BooleanObject::BooleanObject):
      * runtime/BooleanObject.h:
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::BooleanPrototype):
      * runtime/BooleanPrototype.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::DateConstructor):
      * runtime/DateConstructor.h:
      * runtime/DateInstance.cpp:
      (JSC::DateInstance::DateInstance):
      * runtime/DateInstance.h:
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::DatePrototype):
      * runtime/DatePrototype.h:
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::ErrorConstructor):
      * runtime/ErrorConstructor.h:
      * runtime/ErrorInstance.cpp:
      (JSC::ErrorInstance::ErrorInstance):
      * runtime/ErrorInstance.h:
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::ErrorPrototype):
      * runtime/ErrorPrototype.h:
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::FunctionConstructor):
      * runtime/FunctionConstructor.h:
      * runtime/FunctionPrototype.cpp:
      (JSC::FunctionPrototype::FunctionPrototype):
      * runtime/FunctionPrototype.h:
      * runtime/GlobalEvalFunction.cpp:
      (JSC::GlobalEvalFunction::GlobalEvalFunction):
      * runtime/GlobalEvalFunction.h:
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::InternalFunction):
      * runtime/InternalFunction.h:
      (JSC::InternalFunction::InternalFunction):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::JSActivation):
      * runtime/JSActivation.h:
      (JSC::JSActivation::JSActivationData::JSActivationData):
      * runtime/JSArray.cpp:
      (JSC::JSArray::JSArray):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::JSByteArray):
      * runtime/JSByteArray.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::JSFunction):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::JSGlobalObject):
      * runtime/JSONObject.h:
      (JSC::JSONObject::JSONObject):
      * runtime/JSObject.h:
      (JSC::JSObject::JSObject):
      (JSC::JSObject::setStructure):
      * runtime/JSVariableObject.h:
      (JSC::JSVariableObject::JSVariableObject):
      * runtime/JSWrapperObject.h:
      (JSC::JSWrapperObject::JSWrapperObject):
      * runtime/MathObject.cpp:
      (JSC::MathObject::MathObject):
      * runtime/MathObject.h:
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::NativeErrorConstructor):
      * runtime/NativeErrorConstructor.h:
      * runtime/NativeErrorPrototype.cpp:
      (JSC::NativeErrorPrototype::NativeErrorPrototype):
      * runtime/NativeErrorPrototype.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::NumberConstructor):
      * runtime/NumberConstructor.h:
      * runtime/NumberObject.cpp:
      (JSC::NumberObject::NumberObject):
      * runtime/NumberObject.h:
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::NumberPrototype):
      * runtime/NumberPrototype.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::ObjectConstructor):
      * runtime/ObjectConstructor.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::ObjectPrototype):
      * runtime/ObjectPrototype.h:
      * runtime/PropertyNameArray.h:
      (JSC::PropertyNameArrayData::setCachedPrototypeChain):
      * runtime/PrototypeFunction.cpp:
      (JSC::PrototypeFunction::PrototypeFunction):
      * runtime/PrototypeFunction.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::RegExpConstructor):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::RegExpObject):
      * runtime/RegExpObject.h:
      (JSC::RegExpObject::RegExpObjectData::RegExpObjectData):
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::RegExpPrototype):
      * runtime/RegExpPrototype.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::StringConstructor):
      * runtime/StringConstructor.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::StringObject):
      * runtime/StringObject.h:
      * runtime/StringObjectThatMasqueradesAsUndefined.h:
      (JSC::StringObjectThatMasqueradesAsUndefined::StringObjectThatMasqueradesAsUndefined):
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::StringPrototype):
      * runtime/StringPrototype.h:
      * wtf/PassRefPtr.h:
      (WTF::NotNullPassRefPtr::NotNullPassRefPtr):
      (WTF::NotNullPassRefPtr::~NotNullPassRefPtr):
      (WTF::NotNullPassRefPtr::get):
      (WTF::NotNullPassRefPtr::clear):
      (WTF::NotNullPassRefPtr::releaseRef):
      (WTF::NotNullPassRefPtr::operator*):
      (WTF::NotNullPassRefPtr::operator->):
      (WTF::NotNullPassRefPtr::operator!):
      (WTF::NotNullPassRefPtr::operator UnspecifiedBoolType):
      * wtf/RefPtr.h:
      (WTF::RefPtr::RefPtr):
      (WTF::operator==):
      
      WebCore: 
      
      Added NotNullPassRefPtr, and deployed it in all places that initialize
      JavaScript objects.
      
      * bindings/js/DOMObjectWithSVGContext.h:
      (WebCore::DOMObjectWithSVGContext::DOMObjectWithSVGContext):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMBinding.h:
      (WebCore::DOMObject::DOMObject):
      (WebCore::DOMObjectWithGlobalPointer::DOMObjectWithGlobalPointer):
      (WebCore::DOMConstructorObject::DOMConstructorObject):
      (WebCore::DOMConstructorWithDocument::DOMConstructorWithDocument):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::JSDOMGlobalObject):
      * bindings/js/JSDOMGlobalObject.h:
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::JSDOMWindowBase):
      * bindings/js/JSDOMWindowBase.h:
      * bindings/js/JSHTMLAllCollection.h:
      (WebCore::JSHTMLAllCollection::JSHTMLAllCollection):
      * bindings/js/JSInspectedObjectWrapper.cpp:
      (WebCore::JSInspectedObjectWrapper::JSInspectedObjectWrapper):
      * bindings/js/JSInspectedObjectWrapper.h:
      * bindings/js/JSInspectorCallbackWrapper.cpp:
      (WebCore::JSInspectorCallbackWrapper::JSInspectorCallbackWrapper):
      * bindings/js/JSInspectorCallbackWrapper.h:
      * bindings/js/JSQuarantinedObjectWrapper.cpp:
      (WebCore::JSQuarantinedObjectWrapper::JSQuarantinedObjectWrapper):
      * bindings/js/JSQuarantinedObjectWrapper.h:
      * bindings/js/JSWorkerContextBase.cpp:
      (WebCore::JSWorkerContextBase::JSWorkerContextBase):
      * bindings/js/JSWorkerContextBase.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bridge/runtime_object.cpp:
      (JSC::RuntimeObjectImp::RuntimeObjectImp):
      * bridge/runtime_object.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6740e6f2
    • oliver@apple.com's avatar
      Hard dependency on SSE2 instruction set with JIT · 8e5ea206
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29779
      
      Reviewed by Geoff Garen
      
      Add floating point support checks to op_jfalse and op_jtrue, and
      fix the logic for the slow case of op_add
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e5ea206
    • eric@webkit.org's avatar
      2009-09-28 Yaar Schnitman <yaar@chromium.org> · 6fe9ead1
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Chromium port - recognize we are being built independently
              of chromium and look for dependencies under webkit/chromium rather
              than chromium/src.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * JavaScriptCore.gyp/JavaScriptCore.gyp:
      2009-09-28  Yaar Schnitman  <yaar@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Chromium port - recognize we are being built independently
              of chromium and look for dependencies under webkit/chromium rather
              than chromium/src.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * WebCore.gyp/WebCore.gyp: See above. Also removed a few files from
                the sources list, since they are not supposed to be built here.
      2009-09-28  Yaar Schnitman  <yaar@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * chromium/DEPS: Describes the chromium port's dependencies and
                is used by gclient to fetch them.
              * chromium/webkit.gyp: Currently only builds webcore but in
                the future will also build the webkit api.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fe9ead1
    • hausmann@webkit.org's avatar
      [Qt] Implement XSLT support with QtXmlPatterns. · 06b7e555
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28303
      
      Patch by Jakub Wieczorek <faw217@gmail.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      JavaScriptCore:
      
      * wtf/Platform.h: Add a WTF_USE_QXMLQUERY #define.
      
      WebCore:
      
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCoreSources.bkl:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::~Document):
      (WebCore::Document::setTransformSource):
      * dom/Document.h:
      (WebCore::Document::transformSource):
      * dom/TransformSource.h: Added.
      (WebCore::TransformSource::platformSource):
      * dom/TransformSourceLibxslt.cpp: Added.
      (WebCore::TransformSource::TransformSource): Wraps a libxml2 document.
      (WebCore::TransformSource::~TransformSource):
      * dom/TransformSourceQt.cpp: Added.
      (WebCore::TransformSource::TransformSource): Wraps a plain string.
      (WebCore::TransformSource::~TransformSource):
      * dom/XMLTokenizerLibxml2.cpp:
      (WebCore::XMLTokenizer::doEnd):
      * dom/XMLTokenizerQt.cpp:
      (WebCore::XMLTokenizer::doEnd):
      (WebCore::XMLTokenizer::parseProcessingInstruction):
      * xml/XSLStyleSheet.h:
      (WebCore::XSLStyleSheet::sheetString):
      * xml/XSLStyleSheetLibxslt.cpp:
      (WebCore::XSLStyleSheet::document):
      * xml/XSLStyleSheetQt.cpp: Added.
      * xml/XSLTProcessor.h:
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xmlDocPtrFromNode):
      * xml/XSLTProcessorQt.cpp: Added.
      (WebCore::XSLTMessageHandler::XSLTMessageHandler): A subclass of QAbstractMessageHandler.
      (WebCore::XSLTMessageHandler::handleMessage): Forwards all processor messages to the Console.
      (WebCore::XSLTProcessor::transformToString): Uses QXmlQuery.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06b7e555
    • eric@webkit.org's avatar
      2009-09-28 Yongjun Zhang <yongjun.zhang@nokia.com> · f1a58635
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=28054
      
              Use derefInNotNull() to work around winscw compiler forward declaration bug
              regarding templated classes.
      
              The compiler bug is reported at
              https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812.
      
              The change should be reverted when the above bug is fixed in winscw compiler.
      
              Add parenthesis around (RefPtr::*UnspecifiedBoolType) to make winscw compiler
              work with the default UnSpecifiedBoolType() operator, which removes the winscw hack.
      
              * wtf/RefPtr.h:
              (WTF::RefPtr::~RefPtr):
              (WTF::RefPtr::clear):
              (WTF::RefPtr::operator UnspecifiedBoolType):
      2009-09-28  Yongjun Zhang  <yongjun.zhang@nokia.com>
      
              Reviewed by Eric Seidel.
      
              Make JObjectWrapper::ref() and deref() public accessible to derefIfNull().
      
              Will be reverted when the following winscw compiler bug is fixed.
              https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812
      
              * bridge/jni/jni_instance.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1a58635
    • hausmann@webkit.org's avatar
      Remove __clear_cache which is an internal function of GCC · ce6c608e
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28886
      
      Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      Although __clear_cache is exported from GCC, this is an internal
      function. GCC makes no promises about it.
      
      * jit/ExecutableAllocator.h:
      (JSC::ExecutableAllocator::cacheFlush):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce6c608e
    • weinig@apple.com's avatar
      Fix an absolute path to somewhere in Oliver's machine to a relative path · 635d20da
      weinig@apple.com authored
      for derived JSONObject.lut.h.
      
      Reviewed by Oliver Hunt.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      635d20da
    • hausmann@webkit.org's avatar
      Add ARM version detection for Windows CE. · d7c6229f
      hausmann@webkit.org authored
      Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7c6229f
  6. 26 Sep, 2009 1 commit
    • hausmann@webkit.org's avatar
      Add MarkStackSymbian.cpp to build JavascriptCore for Symbian. · 1d0814dd
      hausmann@webkit.org authored
      Patch by Yongjun Zhang <yongjun.zhang@nokia.com> on 2009-09-26
      Reviewed by Simon Hausmann.
      
      Re-use Windows shrinkAllocation implementation because Symbian doesn't
      support releasing part of memory region.
      
      Use fastMalloc and fastFree to implement allocateStack and releaseStack
      for Symbian port.
      
      * JavaScriptCore.pri:
      * runtime/MarkStack.h:
      (JSC::MarkStack::MarkStackArray::shrinkAllocation):
      * runtime/MarkStackSymbian.cpp: Added.
      (JSC::MarkStack::initializePagesize):
      (JSC::MarkStack::allocateStack):
      (JSC::MarkStack::releaseStack):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d0814dd
  7. 25 Sep, 2009 6 commits
    • eric@webkit.org's avatar
      2009-09-25 Gabor Loki <loki@inf.u-szeged.hu> · 16d65d19
      eric@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              Fix unaligned data access in YARR_JIT on ARMv5 and below.
              https://bugs.webkit.org/show_bug.cgi?id=29695
      
              On ARMv5 and below all data access should be naturally aligned.
              In the YARR_JIT there is a case when character pairs are
              loaded from the input string, but this data access is not
              naturally aligned. This fix introduces load32WithUnalignedHalfWords
              and branch32WithUnalignedHalfWords functions which contain
              naturally aligned memory loads - half word loads - on ARMv5 and below.
      
              * assembler/MacroAssemblerARM.cpp:
              (JSC::MacroAssemblerARM::load32WithUnalignedHalfWords):
              * assembler/MacroAssemblerARM.h:
              (JSC::MacroAssemblerARM::load32WithUnalignedHalfWords):
              (JSC::MacroAssemblerARM::branch32WithUnalignedHalfWords):
              * assembler/MacroAssemblerARMv7.h:
              (JSC::MacroAssemblerARMv7::load32WithUnalignedHalfWords):
              (JSC::MacroAssemblerARMv7::branch32):
              (JSC::MacroAssemblerARMv7::branch32WithUnalignedHalfWords):
              * assembler/MacroAssemblerX86Common.h:
              (JSC::MacroAssemblerX86Common::load32WithUnalignedHalfWords):
              (JSC::MacroAssemblerX86Common::branch32WithUnalignedHalfWords):
              * wtf/Platform.h:
              * yarr/RegexJIT.cpp:
              (JSC::Yarr::RegexGenerator::generatePatternCharacterPair):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16d65d19
    • jorlow@chromium.org's avatar
      JavaScriptCore: This is breaking Chromium try bots, so I'm counting this as a build fix. · effd3712
      jorlow@chromium.org authored
      Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-09-25
      Add more svn:ignore exceptions.  On different platforms, these files are
      generated with different case for JavaScriptCore.  Also there are some
      wtf project files that get built apparently.
      
      * JavaScriptCore.gyp: Changed property svn:ignore.
      
      WebCore: This is breaking Chromium try bots, so I'm counting this as a build fix.
      
      Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-09-25
      Add more svn:ignore exceptions.  On different platforms, these files are
      generated with different case for WebCore.
      
      * WebCore.gyp: Changed property svn:ignore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      effd3712
    • adachan@apple.com's avatar
      Build fix. · b7765add
      adachan@apple.com authored
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7765add
    • ggaren@apple.com's avatar
      JavaScriptCore: Inlined some object creation code, including lexicalGlobalObject access · d5428d36
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29750
              
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-25
      Reviewed by Darin Adler.
      
      SunSpider says 0.5% faster.
              
      0.8% speedup on bench-alloc-nonretained.js.
      2.5% speedup on v8-splay.js.
      
      * interpreter/CachedCall.h:
      (JSC::CachedCall::CachedCall):
      * interpreter/CallFrame.h:
      (JSC::ExecState::lexicalGlobalObject):
      (JSC::ExecState::globalThisValue):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::dumpRegisters):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/FunctionConstructor.cpp:
      (JSC::constructFunction):
      * runtime/ScopeChain.cpp:
      (JSC::ScopeChainNode::print):
      * runtime/ScopeChain.h:
      (JSC::ScopeChainNode::ScopeChainNode):
      (JSC::ScopeChainNode::~ScopeChainNode):
      (JSC::ScopeChainNode::push):
      (JSC::ScopeChain::ScopeChain):
      (JSC::ScopeChain::globalObject): Added a globalObject data member to ScopeChainNode.
      Replaced accessor function for globalObject() with data member. Replaced
      globalThisObject() accessor with direct access to globalThis, to match.
      
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::init):
      * runtime/JSGlobalObject.h: Inlined array and object construction.
      
      WebCore: Inlined some object creation code, including lexicalGlobalObject access
      https://bugs.webkit.org/show_bug.cgi?id=29750
      
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-25
      Reviewed by Darin Adler.
      
      * bindings/js/JSInspectorBackendCustom.cpp:
      (WebCore::JSInspectorBackend::currentCallFrame):
      * inspector/JavaScriptDebugServer.cpp:
      (WebCore::JavaScriptDebugServer::hasBreakpoint): Updated for JavaScriptCore
      API changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5428d36
    • eric@webkit.org's avatar
      2009-09-25 Laszlo Gombos <laszlo.1.gombos@nokia.com> · cfa17904
      eric@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              Add ARM version detection rules for Symbian
              https://bugs.webkit.org/show_bug.cgi?id=29715
      
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfa17904
    • xan@webkit.org's avatar
      2009-09-24 Xan Lopez <xlopez@igalia.com> · 1b9d9e48
      xan@webkit.org authored
              Reviewed by Mark "Do It!" Rowe.
      
              Some GCC versions don't like C++-style comments in preprocessor
              directives, change to C-style to shut them up.
      
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b9d9e48
  8. 24 Sep, 2009 1 commit