1. 20 Sep, 2016 7 commits
  2. 19 Sep, 2016 31 commits
  3. 18 Sep, 2016 2 commits
    • zhengxing.li's avatar
      X87: [Interpreter] Adds stackcheck in InterpreterPushArgsAndCall/Construct builtins. · 20693493
      zhengxing.li authored
        port 7f3d15aa(r39470)
      
        original commit message:
        In ignition, arguments to function calls and function constructors are
        pushed onto the stack before calling the function. It is required to check
        that stack does not overflow when pushing the arguments.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2351543002
      Cr-Commit-Position: refs/heads/master@{#39491}
      20693493
    • zhengxing.li's avatar
      X87: [turbofan] Collect invocation counts and compute relative call frequencies. · b6acda3a
      zhengxing.li authored
        port c7d7ca36(r39410)
      
        original commit message:
        Add a notion of "invocation count" to the baseline compilers, which
        increment a special slot in the TypeFeedbackVector for each invocation
        of a given function (the optimized code doesn't currently collect this
        information).
      
        Use this invocation count to relativize the call counts on the call
        sites within the function, so that the inlining heuristic has a view
        of relative importance of a call site rather than some absolute numbers
        with unclear meaning for the current function. Also apply the call site
        frequency as a factor to all frequencies in the inlinee by passing this
        to the graph builders so that the importance of a call site in an
        inlinee is relative to the topmost optimized function.
      
        Note that all functions that neither have literals nor need type
        feedback slots will share a single invocation count cell in the
        canonical empty type feedback vector, so their invocation count is
        meaningless, but that doesn't matter since we only use the invocation
        count to relativize call counts within the function, which we only have
        if we have at least one type feedback vector (the CallIC slot).
      
        See the design document for additional details on this change:
        https://docs.google.com/document/d/1VoYBhpDhJC4VlqMXCKvae-8IGuheBGxy32EOgC2LnT8
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2352493002
      Cr-Commit-Position: refs/heads/master@{#39490}
      b6acda3a