1. 16 Nov, 2016 37 commits
  2. 15 Nov, 2016 3 commits
    • jkummerow's avatar
      [refactoring] Split CodeAssemblerState out of CodeAssembler · 913da29e
      jkummerow authored
      This is in preparation for introducing more specialized
      CodeStubAssembler subclasses. The state object can be handed
      around, while the Assembler instances are temporary-scoped.
      
      BUG=v8:5628
      
      Review-Url: https://codereview.chromium.org/2498073002
      Cr-Commit-Position: refs/heads/master@{#41015}
      913da29e
    • jbroman's avatar
      Initialize internal fields in Factory::NewJSTypedArray and NewJSDataView. · 879f6599
      jbroman authored
      This was causing array buffer views created by ValueDeserializer to have
      uninitialized internal fields, which lead to crashes in layout tests when
      Blink tried to read those fields.
      
      For array buffers, JSArrayBuffer::Setup is responsible for this logic
      (as well as initializing the V8 fields); this is similar to that.
      
      The runtime already seems to correctly initialize these for script-created
      array buffer views as well, which is why this issue was not detected sooner.
      
      Review-Url: https://codereview.chromium.org/2498413002
      Cr-Commit-Position: refs/heads/master@{#41014}
      879f6599
    • luoe's avatar
      Generate inferred names for es6 class functions · e80cfa00
      luoe authored
      Inferred names are currently generated for FunctionLiterals but not generated
      for ClassLiterals. Without them, DevTools does not have enough information to
      make descriptive descriptions.
      
      E.g.
      var x = {y: class{}};
      var a = new x.y();
      console.log(a);
      
      This shows "Object{}" when it could be more descriptive "x.y {}"
      
      BUG=v8:5621
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
      
      Review-Url: https://codereview.chromium.org/2488193003
      Cr-Commit-Position: refs/heads/master@{#41013}
      e80cfa00