1. 28 Aug, 2017 2 commits
  2. 25 Aug, 2017 5 commits
  3. 24 Aug, 2017 2 commits
  4. 23 Aug, 2017 2 commits
    • Adam Klein's avatar
      [ignition] Fix return value of delete on global lexical variables · ac0a2df3
      Adam Klein authored
      BytecodeGenerator previously assumed that any UNALLOCATED variable
      must be a global object property, but that's incorrect for global
      lexical variables declared in a different script.
      
      This patch fixes the behavior by always falling back to the runtime
      to deal with deleting UNALLOCATED variables. This is sub-optimal,
      but should be correct, and it's unclear if speed is important for
      this case.
      
      Bug: v8:6733
      Change-Id: I83c2a0b6e30e5e5f4c79bfe14ebf196529816c71
      Reviewed-on: https://chromium-review.googlesource.com/627636Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47554}
      ac0a2df3
    • jgruber's avatar
      [regexp] Send sticky @@splits to the slow path · 27fd52ab
      jgruber authored
      Due to shortcuts we take on the RegExp.p[@@split] fast path (we don't allocate
      a new instance), we need to send sticky regexps to the slow path.
      
      The problem is a slight impedance mismatch between the spec and our fast-path
      implementation.
      
      Spec: Creates a new regexp instance `splitter` that is guaranteed to be sticky,
      uses `splitter.lastIndex` to advance the search range, advances by itself using
      AdvanceStringIndex if `splitter` did not match at the current position.
      
      Our fast path: Uses the given regexp instance and does not modify stickyness,
      uses last_match_info to advance search range, returns (and assumes no more
      matches) once RegExpExecInternal fails to match.
      
      This is fine if the given regexp is non-sticky, since 1. the value of lastIndex
      is ignored, and 2. non-sticky regexps match if a match is found anywhere in the
      string, not just exactly at the current lastIndex.
      
      Sticky regexps though are a problem. If no match is found exactly at the current
      position, @@split assumes no more matches and exits.
      
      In a follow-up, we could explore other options, such as allocating a new
      instance or saving/restoring flags and lastIndex.
      
      Bug: v8:6706
      Change-Id: I6da2266df72b2f80f00c1ce3cd7c8655de91f680
      Reviewed-on: https://chromium-review.googlesource.com/626065Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47543}
      27fd52ab
  5. 22 Aug, 2017 3 commits
  6. 18 Aug, 2017 2 commits
  7. 17 Aug, 2017 4 commits
    • Ross McIlroy's avatar
      Reland "[Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile" · 73ec5598
      Ross McIlroy authored
      This is a reland of 21da12a9
      Original change's description:
      > [Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile
      > 
      > Removes the Compiler::CompileDebugCode and Compiler::EnsureBytecode functions
      > and replaces them with a Compiler::Compile(Handle<SharedFunctionInfo> shared)
      > function. The code in compiler.cc is refactored to use this function to compile
      > the SharedFunctionInfo when compiling a JSFunction.
      > 
      > Also does some other cleanup:
      >  - Removes CompileUnoptimizedFunction and inlines into new Compiler function
      >  - Moves code to create top level SharedFunctionInfo into CompilerTopLevel and
      >    out of FinalizeUnoptimizedCompile.
      > 
      > BUG=v8:6409
      > 
      > Change-Id: Ic54afcd8eb005c17f3ae6b2355060846e3091ca3
      > Reviewed-on: https://chromium-review.googlesource.com/613760
      > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#47394}
      
      TBR=yangguo@chromium.org
      TBR=jarin@chromium.org
      
      Bug: v8:6409
      Change-Id: If2eae66a85f129e746a5ca5c04935540f3f86b04
      Reviewed-on: https://chromium-review.googlesource.com/618886Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47399}
      73ec5598
    • Ross McIlroy's avatar
      Revert "[Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile" · 0f40415b
      Ross McIlroy authored
      This reverts commit 21da12a9.
      
      Reason for revert: Failing on arm64 simulator
      
      Original change's description:
      > [Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile
      > 
      > Removes the Compiler::CompileDebugCode and Compiler::EnsureBytecode functions
      > and replaces them with a Compiler::Compile(Handle<SharedFunctionInfo> shared)
      > function. The code in compiler.cc is refactored to use this function to compile
      > the SharedFunctionInfo when compiling a JSFunction.
      > 
      > Also does some other cleanup:
      >  - Removes CompileUnoptimizedFunction and inlines into new Compiler function
      >  - Moves code to create top level SharedFunctionInfo into CompilerTopLevel and
      >    out of FinalizeUnoptimizedCompile.
      > 
      > BUG=v8:6409
      > 
      > Change-Id: Ic54afcd8eb005c17f3ae6b2355060846e3091ca3
      > Reviewed-on: https://chromium-review.googlesource.com/613760
      > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#47394}
      
      TBR=rmcilroy@chromium.org,yangguo@chromium.org,jarin@chromium.org,leszeks@chromium.org
      
      Change-Id: I4ba63e82417a185f1528ff2633eb6c8872fbbfe5
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:6409
      Reviewed-on: https://chromium-review.googlesource.com/618687Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47397}
      0f40415b
    • Ross McIlroy's avatar
      [Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile · 21da12a9
      Ross McIlroy authored
      Removes the Compiler::CompileDebugCode and Compiler::EnsureBytecode functions
      and replaces them with a Compiler::Compile(Handle<SharedFunctionInfo> shared)
      function. The code in compiler.cc is refactored to use this function to compile
      the SharedFunctionInfo when compiling a JSFunction.
      
      Also does some other cleanup:
       - Removes CompileUnoptimizedFunction and inlines into new Compiler function
       - Moves code to create top level SharedFunctionInfo into CompilerTopLevel and
         out of FinalizeUnoptimizedCompile.
      
      BUG=v8:6409
      
      Change-Id: Ic54afcd8eb005c17f3ae6b2355060846e3091ca3
      Reviewed-on: https://chromium-review.googlesource.com/613760
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47394}
      21da12a9
    • Igor Sheludko's avatar
      Fix spec violation in Function.prototype.bind. · d5a398e8
      Igor Sheludko authored
      '9. Let targetName be ? Get(Target, "name").' didn't produce required
      side effects.
      
      Bug: v8:6712
      Change-Id: Iebf007b4e93ebbf9c6c85c9729d972a8c1a7b129
      Reviewed-on: https://chromium-review.googlesource.com/616727Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Commit-Queue: Igor Sheludko <ishell@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47393}
      d5a398e8
  8. 14 Aug, 2017 1 commit
  9. 11 Aug, 2017 2 commits
  10. 10 Aug, 2017 2 commits
  11. 09 Aug, 2017 8 commits
  12. 08 Aug, 2017 2 commits
  13. 07 Aug, 2017 1 commit
  14. 04 Aug, 2017 1 commit
  15. 03 Aug, 2017 1 commit
  16. 02 Aug, 2017 2 commits