1. 01 Jan, 2011 1 commit
  2. 24 Dec, 2010 1 commit
    • abarth@webkit.org's avatar
      Move JavaScriptGlue into Sources · e72e6717
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=51583
      
      Rubber-stamped by Eric Seidel.
      
      Actually perform the move.
      
      * JavaScriptGlue: Removed.
      * JavaScriptGlue/Configurations: Removed.
      * JavaScriptGlue/Configurations/Base.xcconfig: Removed.
      * JavaScriptGlue/Configurations/DebugRelease.xcconfig: Removed.
      * JavaScriptGlue/Configurations/JavaScriptGlue.xcconfig: Removed.
      * JavaScriptGlue/Configurations/Version.xcconfig: Removed.
      * JavaScriptGlue/English.lproj: Removed.
      * JavaScriptGlue/English.lproj/InfoPlist.strings: Removed.
      * JavaScriptGlue/ForwardingHeaders: Removed.
      * JavaScriptGlue/ForwardingHeaders/masm: Removed.
      * JavaScriptGlue/ForwardingHeaders/masm/X86Assembler.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/profiler: Removed.
      * JavaScriptGlue/ForwardingHeaders/profiler/Profiler.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/runtime: Removed.
      * JavaScriptGlue/ForwardingHeaders/runtime/CallFrame.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ASCIICType.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/AlwaysInline.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Assertions.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Atomics.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Bitmap.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/BumpPointerAllocator.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/CrossThreadRefCounted.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/CurrentTime.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/DateInstanceCache.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/DateMath.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FastAllocBase.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FastMalloc.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/FixedArray.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Forward.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashCountedSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashFunctions.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashMap.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/HashTraits.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ListHashSet.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ListRefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Locker.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/MainThread.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/MathExtras.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Noncopyable.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/NotFound.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OSAllocator.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnArrayPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnFastMallocPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/OwnPtrCommon.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageAllocation.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageAllocationAligned.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageBlock.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PageReservation.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassOwnArrayPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassOwnPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Platform.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PossiblyNull.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/PtrAndFlags.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RandomNumber.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StackBounds.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StdLibExtras.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/StringHasher.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadSpecific.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Threading.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ThreadingPrimitives.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/UnusedParam.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/VMTags.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/ValueCheck.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/Vector.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/VectorTraits.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/WTFThreadData.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/CString.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringHash.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringImpl.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/StringImplBase.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/TextPosition.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/text/WTFString.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/Unicode.h: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/icu: Removed.
      * JavaScriptGlue/ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h: Removed.
      * JavaScriptGlue/Info.plist: Removed.
      * JavaScriptGlue/JSBase.cpp: Removed.
      * JavaScriptGlue/JSBase.h: Removed.
      * JavaScriptGlue/JSObject.cpp: Removed.
      * JavaScriptGlue/JSObject.h: Removed.
      * JavaScriptGlue/JSRun.cpp: Removed.
      * JavaScriptGlue/JSRun.h: Removed.
      * JavaScriptGlue/JSUtils.cpp: Removed.
      * JavaScriptGlue/JSUtils.h: Removed.
      * JavaScriptGlue/JSValueWrapper.cpp: Removed.
      * JavaScriptGlue/JSValueWrapper.h: Removed.
      * JavaScriptGlue/JavaScriptGlue.cpp: Removed.
      * JavaScriptGlue/JavaScriptGlue.exp: Removed.
      * JavaScriptGlue/JavaScriptGlue.h: Removed.
      * JavaScriptGlue/JavaScriptGlue.xcodeproj: Removed.
      * JavaScriptGlue/JavaScriptGlue.xcodeproj/project.pbxproj: Removed.
      * JavaScriptGlue/LICENSE: Removed.
      * JavaScriptGlue/Makefile: Removed.
      * JavaScriptGlue/UserObjectImp.cpp: Removed.
      * JavaScriptGlue/UserObjectImp.h: Removed.
      * JavaScriptGlue/config.h: Removed.
      * JavaScriptGlue/icu: Removed.
      * JavaScriptGlue/icu/LICENSE: Removed.
      * JavaScriptGlue/icu/README: Removed.
      * JavaScriptGlue/icu/unicode: Removed.
      * JavaScriptGlue/icu/unicode/platform.h: Removed.
      * JavaScriptGlue/icu/unicode/putil.h: Removed.
      * JavaScriptGlue/icu/unicode/uchar.h: Removed.
      * JavaScriptGlue/icu/unicode/ucnv.h: Removed.
      * JavaScriptGlue/icu/unicode/ucnv_err.h: Removed.
      * JavaScriptGlue/icu/unicode/uconfig.h: Removed.
      * JavaScriptGlue/icu/unicode/uenum.h: Removed.
      * JavaScriptGlue/icu/unicode/uiter.h: Removed.
      * JavaScriptGlue/icu/unicode/umachine.h: Removed.
      * JavaScriptGlue/icu/unicode/urename.h: Removed.
      * JavaScriptGlue/icu/unicode/ustring.h: Removed.
      * JavaScriptGlue/icu/unicode/utf.h: Removed.
      * JavaScriptGlue/icu/unicode/utf16.h: Removed.
      * JavaScriptGlue/icu/unicode/utf8.h: Removed.
      * JavaScriptGlue/icu/unicode/utf_old.h: Removed.
      * JavaScriptGlue/icu/unicode/utypes.h: Removed.
      * JavaScriptGlue/icu/unicode/uversion.h: Removed.
      * JavaScriptGlue/testjsglue.cpp: Removed.
      * Makefile:
      * Sources: Added.
      * Sources/JavaScriptGlue: Copied from JavaScriptGlue.
      * Sources/Makefile: Added.
      
      Tools: 
      
      These tools refer to JavaScriptGlue and need to be updated to its new
      location.
      
      * Scripts/build-webkit:
      * Scripts/do-file-rename:
      * Scripts/do-webcore-rename:
      * Scripts/webkitpy/common/config/build.py:
      * Scripts/webkitpy/common/config/build_unittest.py:
      
      Websites/bugs.webkit.org: 
      
      PrettyPatch keeps a list of the top-level directories that exist in
      trac.
      
      * PrettyPatch/PrettyPatch.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e72e6717
  3. 29 Sep, 2008 1 commit
    • ggaren@apple.com's avatar
      JavaScriptCore: · 0c677735
      ggaren@apple.com authored
      2008-09-29  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Cameron Zwarich.
              
              Store the callee ScopeChain, not the caller ScopeChain, in the call frame
              header. Nix the "scopeChain" local variable and ExecState::m_scopeChain, and
              access the callee ScopeChain through the call frame header instead.
      
              Profit: call + return are simpler, because they don't have to update the
              "scopeChain" local variable, or ExecState::m_scopeChain.
              
              Because CTI keeps "r" in a register, reading the callee ScopeChain relative
              to "r" can be very fast, in any cases we care to optimize.
      
              0% speedup on empty function call benchmark. (5.5% speedup in bytecode.)
              0% speedup on SunSpider. (7.5% speedup on controlflow-recursive.)
              2% speedup on SunSpider --v8.
              2% speedup on v8 benchmark.
      
              * VM/CTI.cpp: Changed scope chain access to read the scope chain from
              the call frame header. Sped up op_ret by changing it not to fuss with
              the "scopeChain" local variable or ExecState::m_scopeChain.
      
              * VM/CTI.h: Updated CTI trampolines not to take a ScopeChainNode*
              argument, since that's stored in the call frame header now.
      
              * VM/Machine.cpp: Access "scopeChain" and "codeBlock" through new helper
              functions that read from the call frame header. Updated functions operating
              on ExecState::m_callFrame to account for / take advantage of the fact that
              Exec:m_callFrame is now never NULL.
              
              Fixed a bug in op_construct, where it would use the caller's default
              object prototype, rather than the callee's, when constructing a new object.
      
              * VM/Machine.h: Made some helper functions available. Removed
              ScopeChainNode* arguments to a lot of functions, since the ScopeChainNode*
              is now stored in the call frame header.
      
              * VM/RegisterFile.h: Renamed "CallerScopeChain" to "ScopeChain", since
              that's what it is now.
      
              * kjs/DebuggerCallFrame.cpp: Updated for change to ExecState signature.
      
              * kjs/ExecState.cpp:
              * kjs/ExecState.h: Nixed ExecState::m_callFrame, along with the unused
              isGlobalObject function.
      
              * kjs/JSGlobalObject.cpp:
              * kjs/JSGlobalObject.h: Gave the global object a fake call frame in
              which to store the global scope chain, since our code now assumes that
              it can always read the scope chain out of the ExecState's call frame.
      
      JavaScriptGlue:
      
      2008-09-29  Geoffrey Garen  <ggaren@apple.com>
      
              Not reviewed.
              
              Forwarding headers to fix the build.
      
              * ForwardingHeaders/kjs/CTI.h: Copied from ForwardingHeaders/kjs/ExecState.h.
              * ForwardingHeaders/kjs/ustring.h: Copied from ForwardingHeaders/kjs/ExecState.h.
              * ForwardingHeaders/masm: Added.
              * ForwardingHeaders/masm/X86Assembler.h: Added.
              * ForwardingHeaders/profiler: Added.
              * ForwardingHeaders/profiler/Profiler.h: Added.
      
      LayoutTests:
      
      2008-09-29  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Cameron Zwarich.
              
              Test case for which prototype is used when calling "new" across windows.
      
              * fast/js/construct-global-object-expected.txt: Added.
              * fast/js/construct-global-object.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c677735
  4. 18 Apr, 2008 2 commits