1. 19 Feb, 2013 1 commit
  2. 12 Feb, 2013 1 commit
  3. 30 Jan, 2013 1 commit
  4. 07 Jan, 2013 1 commit
  5. 13 Nov, 2012 1 commit
  6. 09 Nov, 2012 1 commit
  7. 05 Nov, 2012 1 commit
    • svenpanne@chromium.org's avatar
      Heavy cleanup of the external pointer API. · f3807ca1
      svenpanne@chromium.org authored
      Added highly efficient Object::SetAlignedPointerInInternalField and
      Object::GetAlignedPointerFromInternalField functions for 2-byte-aligned
      pointers. Their non-aligned counterparts Object::GetPointerFromInternalField and
      Object::SetPointerInInternalField are now deprecated utility functions.
      
      External is now a true Value again, with New/Value/Cast using a JSObject with an
      internal field containing a Foreign. External::Wrap, and External::Unwrap are now
      deprecated utility functions.
      
      Added Context::GetEmbedderData and Context::SetEmbedderData. Deprecated
      Context::GetData and Context::SetData, these are now only wrappers to access
      internal field 0.
      
      Added highly efficient Context::SetAlignedPointerInEmbedderData and
      Context::GetAlignedPointerFromEmbedderData functions for 2-byte-aligned
      pointers.
      
      Review URL: https://codereview.chromium.org/11190050
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      f3807ca1
  8. 26 Sep, 2012 1 commit
  9. 05 Sep, 2012 1 commit
  10. 23 Aug, 2012 1 commit
  11. 22 Aug, 2012 1 commit
  12. 05 Jul, 2012 1 commit
    • verwaest@chromium.org's avatar
      Separating transitions from descriptors. · d7a5b7d5
      verwaest@chromium.org authored
      In this design maps contain descriptor arrays, which in turn can contain transition arrays. If transitions are needed when no descriptor array is present, a descriptor array without real descriptors is inserted just so it can point at the transition array.
      
      The transition array does not contain details about the field it transitions to. In order to weed out transitions to FIELDs from CONSTANT_FUNCTION (what used to be MAP_TRANSITION vs CONSTANT_TRANSITION), the transition needs to be followed and the details need to be looked up in the target map. CALLBACKS transitions are still easy to recognize since the transition targets are stored as an AccessorPair containing the maps, rather than the maps directly.
      
      Currently AccessorPairs containing a transition and an accessor are shared between the descriptor array and the transition array. This simplifies lookup since we only have to look in one of both arrays. This will change in subsequent revisions, when descriptor arrays will become shared between multiple maps, since transitions cannot be shared.
      
      Review URL: https://chromiumcodereview.appspot.com/10697015
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      d7a5b7d5
  13. 03 Jul, 2012 1 commit
  14. 19 Jun, 2012 1 commit
  15. 01 Jun, 2012 1 commit
  16. 31 May, 2012 1 commit
  17. 22 May, 2012 1 commit
  18. 14 May, 2012 1 commit
  19. 10 May, 2012 1 commit
  20. 10 Jan, 2012 1 commit
  21. 05 Jan, 2012 1 commit
  22. 02 Jan, 2012 1 commit
  23. 15 Dec, 2011 1 commit
  24. 04 Aug, 2011 1 commit
  25. 19 Jul, 2011 1 commit
  26. 01 Jul, 2011 1 commit
  27. 31 May, 2011 1 commit
    • rossberg@chromium.org's avatar
      Implement set trap for proxies, and revamp class hierarchy in preparation: · 670f947a
      rossberg@chromium.org authored
      - Introduce a class JSReceiver, that is a common superclass of JSObject and
        JSProxy. Use JSReceiver where appropriate (probably lots of places that we
        still have to migrate, but we will find those later with proxy test suite).
      
      - Move appropriate methods to JSReceiver class (SetProperty,
        GetPropertyAttribute, Get/SetPrototype, Lookup, and so on).
      
      - Introduce new JSFunctionProxy subclass of JSProxy. Currently only a stub.
      
      - Overhaul enum InstanceType:
        * Introduce FIRST/LAST_SPEC_OBJECT_TYPE that ranges over all types that
          represent JS objects, and use that consistently to check language types.
        * Rename FIRST/LAST_JS_OBJECT_TYPE and FIRST/LAST_FUNCTION_CLASS_TYPE
          to FIRST/LAST_[NON]CALLABLE_SPEC_OBJECT_TYPE for clarity.
        * Eliminate the overlap over JS_REGEXP_TYPE.
        * Also replace FIRST_JS_OBJECT with FIRST_JS_RECEIVER, but only use it where
          we exclusively talk about the internal representation type.
        * Insert JS_PROXY and JS_FUNCTION_PROXY in the appropriate places.
      
      - Fix all checks concerning classification, especially for functions, to
        use the CALLABLE_SPEC_OBJECT range (that includes funciton proxies).
      
      - Handle proxies in SetProperty (that was the easiest part :) ).
      
      - A few simple test cases.
      
      R=kmillikin@chromium.org
      
      Review URL: http://codereview.chromium.org/6992072
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      670f947a
  28. 23 May, 2011 1 commit
  29. 19 May, 2011 1 commit
  30. 22 Feb, 2011 1 commit