1. 21 Sep, 2015 3 commits
    • chunyang.dai's avatar
      X87: [runtime] Replace COMPARE/COMPARE_STRONG with proper Object::Compare. · 9155967e
      chunyang.dai authored
      port 593c655a (r30816).
      
      original commit message:
      
          This removes the weird COMPARE and COMPARE_STRONG JavaScript builtins
          and replaces them with a proper C++ implementation in Object::Compare
          and appropriate wrappers Object::LessThan, Object::GreaterThan, and
          friends that are intended to be used by a true/false returning CompareIC
          in the future, as well as the interpreter.  As a short-term solution we
          provide %Compare and %Compare_Strong entry points for the current
          CompareIC that return the appropriate integer values expected by
          fullcodegen currently.
      
          Now the Abstract Relational Comparison is also using the correct
          ToPrimitive implementation, which properly supports @@toPrimitive.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1353343002
      
      Cr-Commit-Position: refs/heads/master@{#30844}
      9155967e
    • julien.gilli's avatar
      Add ScopeInfo constants to post-mortem metadata · 357e6b99
      julien.gilli authored
      mdb_v8, a post-mortem debugging tool for Node.js, allows users to
      inspect ScopeInfo structures in order to get more information about
      closures.
      
      Currently, it hardcodes the metadata it uses to find this information.
      This change allows it to get this metadata from the node binary itself,
      and thus to adapt to future changes made to the layout of the ScopeInfo
      data structure.
      
      BUG=
      
      R=bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1350843003
      
      Cr-Commit-Position: refs/heads/master@{#30843}
      357e6b99
    • littledan's avatar
      Implement sloppy-mode block-defined functions (Annex B 3.3) · e5ff10d7
      littledan authored
      ES2015 specifies very particular semantics for functions defined in blocks.
      In strict mode, it is simply a lexical binding scoped to that block. In sloppy
      mode, in addition to that lexical binding, there is a var-style binding in
      the outer scope, which is overwritten with the local binding when the function
      declaration is evaluated, *as long as* introducing ths var binding would not
      create a var/let conflict in the outer scope.
      
      This patch implements the semantics by introducing a DelegateStatement, which
      is initially filled in with the EmptyStatement and overwritten with the
      assignment when the scope is closed out and it can be checked that there is
      no conflict.
      
      This patch is tested with a new mjsunit test, and I tried staging it and running
      test262, finding that the tests that we have disabled due to lack of Annex B
      support now pass.
      
      R=adamk,rossberg
      LOG=Y
      BUG=v8:4285
      
      Review URL: https://codereview.chromium.org/1332873003
      
      Cr-Commit-Position: refs/heads/master@{#30842}
      e5ff10d7
  2. 20 Sep, 2015 1 commit
    • alph's avatar
      Reland of Make profiler no frame region detection code more robust [ia86/x64] · 4962bbb1
      alph authored
      Upon collection of the stack trace if the current PC falls into
      the frame building code, the top frame might be in a non-consistent
      state. That leads to some of the frames could be missing from the
      stack trace.
      
      The patch makes it check instructions under current PC and if they
      look like the frame setup/destroy code, it skips the entire sample.
      
      Support for x86/x64
      
      CG_INCLUDE_TRYBOTS=tryserver.v8:v8_linux64_msan_rel
      BUG=chromium:529931
      LOG=N
      
      Review URL: https://codereview.chromium.org/1348533005
      
      Cr-Commit-Position: refs/heads/master@{#30841}
      4962bbb1
  3. 19 Sep, 2015 1 commit
    • v8-autoroll's avatar
      Update V8 DEPS. · d44588a9
      v8-autoroll authored
      Rolling v8/build/gyp to cf3170e30578d600b8ec8cd68553cc5e606d42eb
      
      Rolling v8/tools/clang to 76e743dc622478312b66661ad48997b318628cbb
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review URL: https://codereview.chromium.org/1357793002
      
      Cr-Commit-Position: refs/heads/master@{#30840}
      d44588a9
  4. 18 Sep, 2015 26 commits
  5. 17 Sep, 2015 9 commits