1. 23 Jan, 2017 1 commit
  2. 21 Jan, 2017 1 commit
  3. 20 Jan, 2017 1 commit
    • franzih's avatar
      [runtime] Allocate space for computed property names. · 399f36b5
      franzih authored
      Allocate space in the backing store for computed property names.
      
      The property backing store was pre-allocated for the constant
      properties up to the first non-constant (computed name) property.
      To use lowering for storing data properties in literals
      with computed property names effectively, a fast store is needed, i.e.,
      available space in the property backing store for properties
      with computed names.
      
      backing_store_size is the number of all properties (including
      computed names, but without __proto__)
      that is calculated in the ast and passed to the runtime function that allocates
      the property backing store. backing_store_size and
      constant_properties constitute a BoilerplateDescription.
      
      backing_store_size might be slightly too high because computed names
      can evaluate to the same name, but that should be a rare
      case so over-allocating is OK.
      
      If a property is __proto__, we don't store it as a regular
      property, because the map changes. Keep track of
      has_seen_proto in the parser to calculate the
      backing store size correctly.
      
      BUG=v8:5625
      
      Review-Url: https://codereview.chromium.org/2632503003
      Cr-Commit-Position: refs/heads/master@{#42576}
      399f36b5
  4. 19 Jan, 2017 6 commits
  5. 18 Jan, 2017 2 commits
    • clemensh's avatar
      [wasm] Set and store breakpoints in wasm · 2f3de27e
      clemensh authored
      Store breakpoint positions in the WasmSharedModuleData in order to set
      them on new instantiations. Also redirect them to all live instances at
      the time the breakpoint is set.
      
      Inside the WasmDebugInfo, we store the BreakPointInfo objects to find
      hit breakpoints.
      
      R=titzer@chromium.org, yangguo@chromium.org
      BUG=v8:5822
      
      Review-Url: https://codereview.chromium.org/2626253002
      Cr-Commit-Position: refs/heads/master@{#42443}
      2f3de27e
    • gsathya's avatar
      [ESnext] Implement Object Rest · 54b5c4b8
      gsathya authored
      This rewrites the rest property into a runtime call which sets up the
      correct properties in the newly created object.
      
      - Changes flag to --harmony-object-rest-spread
      - Changes pattern rewriter to desugar rest property
      - Adds new runtime function CopyDataPropertiesWithExcludedProperties
      
      BUG=v8:5549
      
      Review-Url: https://codereview.chromium.org/2620943002
      Cr-Commit-Position: refs/heads/master@{#42430}
      54b5c4b8
  6. 17 Jan, 2017 2 commits
  7. 16 Jan, 2017 2 commits
  8. 13 Jan, 2017 6 commits
  9. 12 Jan, 2017 9 commits
  10. 11 Jan, 2017 2 commits
  11. 10 Jan, 2017 5 commits
  12. 09 Jan, 2017 1 commit
  13. 05 Jan, 2017 1 commit
    • gsathya's avatar
      [ESnext] Implement Object spread · a40b7172
      gsathya authored
      This patch adds parsing of spread object property.
      
      -- Changes ParsePropertyName to parse Token::ELLIPSIS.
      -- Throws if rest is encountered by setting a pattern error.
      -- Adds a new PropertyKind enum (SPREAD)
      -- Adds a new ObjectLiteralProperty::kind (SPREAD)
      -- Adds a new harmony-object-spread flag and protects the parser code
      with it.
      -- Adds a new runtime function called CopyDataProperties
      -- Does not add any support for this feature in fullcodegen.
      -- Ignition calls out to a runtime function CopyDataProperties to
      perform spread operation.
      -- Move FastAssign from builtins-objects.cc to objects.cc
      -- Refactor Builtin_ObjectAssign to use SetOrCopyDataProperties
      
      Object rest will be implemented in a follow on patch.
      
      BUG=v8:5549
      
      Review-Url: https://codereview.chromium.org/2606833002
      Cr-Commit-Position: refs/heads/master@{#42102}
      a40b7172
  14. 03 Jan, 2017 1 commit
    • caitp's avatar
      [cleanup] remove sloppy generator/async function maps · c5234747
      caitp authored
      These maps contain exactly the same information as the strict maps, so
      this frees up a few pointers of native context space, gets rid of some
      branches in FastNewClosure, and adds missing poisoned properties tests
      for async functions.
      
      BUG=v8:2355, v8:4483
      R=adamk@chromium.org, bmeurer@chromium.org, littledan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2608333002
      Cr-Commit-Position: refs/heads/master@{#42051}
      c5234747