1. 12 Jun, 2013 1 commit
  2. 06 Jun, 2013 2 commits
  3. 14 May, 2013 1 commit
  4. 08 May, 2013 1 commit
  5. 29 Apr, 2013 1 commit
  6. 25 Apr, 2013 1 commit
  7. 18 Apr, 2013 1 commit
  8. 17 Apr, 2013 1 commit
  9. 07 Mar, 2013 1 commit
  10. 04 Mar, 2013 1 commit
  11. 01 Mar, 2013 1 commit
  12. 28 Feb, 2013 1 commit
  13. 26 Feb, 2013 1 commit
    • mstarzinger@chromium.org's avatar
      Make __proto__ a foreign callback on Object.prototype. · ce1e10f5
      mstarzinger@chromium.org authored
      This moves the __proto__ property to Object.prototype and turns it into
      a callback property actually present in the descriptor array as opposed
      to a hack in the properties lookup. For now it still is a "magic" data
      property using foreign callbacks and not an accessor property visible to
      JavaScript.
      
      The second effect of this change is that JSON.parse() no longer treats
      the __proto__ property specially, it will be defined as any other data
      property. Note that object literals still have their special handling.
      
      R=rossberg@chromium.org
      BUG=v8:621,v8:1949,v8:2441
      TEST=mjsunit,cctest,test262
      
      Review URL: https://codereview.chromium.org/12212011
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      ce1e10f5
  14. 12 Feb, 2013 1 commit
  15. 09 Jan, 2013 1 commit
  16. 17 Dec, 2012 1 commit
  17. 15 Nov, 2012 1 commit
  18. 13 Nov, 2012 1 commit
  19. 09 Nov, 2012 1 commit
  20. 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
  21. 18 Sep, 2012 1 commit
  22. 04 Sep, 2012 1 commit
  23. 03 Sep, 2012 1 commit
  24. 27 Aug, 2012 1 commit
  25. 17 Aug, 2012 1 commit
  26. 30 Jul, 2012 1 commit
  27. 25 Jul, 2012 1 commit
  28. 18 Jul, 2012 2 commits
  29. 17 Jul, 2012 1 commit
  30. 11 Jul, 2012 1 commit
  31. 09 Jul, 2012 1 commit
    • rossberg@chromium.org's avatar
      Implement proper module linking. · 98db1a36
      rossberg@chromium.org authored
      Specifically:
      
      - In parser, check that all exports are defined.
      - Move JSModule allocation from parser to scope resolution.
      - Move JSModule linking from full codegen to scope resolution.
      - Implement module accessors for exported value members.
      - Allocate module contexts statically along with JSModules
        (to allow static linking), but chain them when module literal is evaluated.
      - Make module contexts' extension slot refer to resp. JSModule
        (makes modules' ScopeInfo accessible from context).
      - Some other tweaks to context handling in general.
      - Make any code containing module literals (and thus embedding
        static references to JSModules) non-cacheable.
      
      This enables accessing module instance objects as expected.
      Import declarations are a separate feature and do not work yet.
      
      R=mstarzinger@chromium.org
      BUG=v8:1569
      TEST=
      
      Review URL: https://chromiumcodereview.appspot.com/10690043
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      98db1a36
  32. 31 May, 2012 1 commit
  33. 23 May, 2012 1 commit
  34. 16 Apr, 2012 1 commit
    • rossberg@chromium.org's avatar
      Implement rudimentary module linking. · ab26fb6b
      rossberg@chromium.org authored
      Constructs the (generally cyclic) graph of module instance objects
      and populates their exports. Any exports other than nested modules
      are currently set to 'undefined' (but already present as properties).
      
      Details:
      - Added new type JSModule for instance objects: a JSObject carrying a context.
      - Statically allocate instance objects for all module literals (in parser 8-}).
      - Extend interfaces to record and unify concrete instance objects,
        and to support iteration over members.
      - Introduce new runtime function for pushing module contexts.
      - Generate code for allocating, initializing, and setting module contexts,
        and for populating instance objects from module literals.
        Currently, all non-module exports are still initialized with 'undefined'.
      - Module aliases are resolved statically, so no special code is required.
      - Make sure that code containing module constructs is never optimized
        (macrofy AST node construction flag setting while we're at it).
      - Add test case checking linkage.
      
      Baseline: http://codereview.chromium.org/9722043/
      
      R=svenpanne@chromium.org,mstarzinger@chromium.org
      BUG=
      TEST=
      
      Review URL: https://chromiumcodereview.appspot.com/9844002
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11336 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      ab26fb6b
  35. 20 Feb, 2012 1 commit
  36. 26 Jan, 2012 1 commit
  37. 16 Jan, 2012 2 commits