1. 08 Jan, 2016 4 commits
    • bmeurer's avatar
      [builtins] Migrate Object.keys to C++. · 50e1e751
      bmeurer authored
      Everything necessary to implement Object.keys efficiently is already
      available in C++ land for quite some time now, and only the thin
      JavaScript wrapper was left, so get rid of that as well and move the
      whole builtin to C++ instead.
      
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1567963002
      
      Cr-Commit-Position: refs/heads/master@{#33167}
      50e1e751
    • zhengxing.li's avatar
      X87: [TurboFan] Fixed the kX87BitcastFI and kX87BitcastIF code generation bugs. · 30cf31ea
      zhengxing.li authored
        The original kX87BitcastFI and kX87BitcastIF of x87 code generation in TurboFan have bugs and caused all Run_Wasm_F32CopySign test cases failed.
      
        This CL will fix them.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1565183003
      
      Cr-Commit-Position: refs/heads/master@{#33166}
      30cf31ea
    • dtc-v8's avatar
      WASM: Reserve an ignored section for source code meta information. · 0427d9ff
      dtc-v8 authored
      Requesting reservation of a wasm section for experimentation with
      storing source code meta information, such as source code comments,
      and also extra inform on presentation of the AST such an `if-block`
      pattern being presented as a `when` operation.
      
      The wasm design already defines unrecognized sections to be ignored,
      and this reserved section is ignored. This section is only intended to
      hold source code meta information and to have no effect on code
      execution.
      
      With wasm going live (behind a flag) on v8, I would also like to be
      able to give people something to play with in terms of the deployed
      binary code being a useful source code. It's all experimental, but I
      understand the entire binary format that V8 is currently using is
      basically a throwaway, and that the working strategy is to get
      something running and then revisit format decisions.
      
      I would like a fixed reserved section number to avoid potential
      clashes with other projects - although I am not aware of any other
      calls for addition sections beyond the need for debug info. If a fixed
      number is not acceptable, then could this patch alternatively ignore
      all unrecognized sections and perhaps add the section size to them
      all - something which is already noted todo in the design document?
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1565693002
      
      Cr-Commit-Position: refs/heads/master@{#33165}
      0427d9ff
    • caitpotter88's avatar
      [promise] make builtin resolve functions and executors non-constructors · 96c6b338
      caitpotter88 authored
      Fixes a number of test262 tests, including:
      
      - built-ins/Promise/reject-function-nonconstructor.js
      - built-ins/Promise/resolve-function-nonconstructor.js
      - built-ins/Promise/all/resolve-element-function-nonconstructor.js
      - built-ins/Promise/executor-function-nonconstructor.js
      
      BUG=v8:4633
      LOG=N
      R=adamk@chromium.org, cbruni@chromium.org, littledan@chromium.org
      
      Review URL: https://codereview.chromium.org/1565303004
      
      Cr-Commit-Position: refs/heads/master@{#33164}
      96c6b338
  2. 07 Jan, 2016 22 commits
  3. 06 Jan, 2016 10 commits
  4. 05 Jan, 2016 4 commits
    • bradnelson's avatar
      Disable more crashing / failing wasm tests. · 4c226081
      bradnelson authored
      Disabling some tests for ppc, mips, arm.
      
      BUG=
      R=bbudge@chromium.org
      
      Review URL: https://codereview.chromium.org/1564553002
      
      Cr-Commit-Position: refs/heads/master@{#33131}
      4c226081
    • Miran.Karic's avatar
      MIPS: Remove JIC/JIALC forbidden slot checks in simulator · 718a554d
      Miran.Karic authored
      JIC and JIALC instructions do not have a forbidden slot so their
      simulator implementation should not call CheckForbiddenSlot function.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1562473002
      
      Cr-Commit-Position: refs/heads/master@{#33130}
      718a554d
    • caitpotter88's avatar
      [promise] revert error message change for Promise.resolve() · 5fcfe05a
      caitpotter88 authored
      Previously, it was `ToString(PromiseCast)`, which comes out as
      "function resolve() { [native code] }". I had changed it to "Promise.resolve()",
      but the other style is more consistently used.
      
      LOG=N
      R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org
      
      Review URL: https://codereview.chromium.org/1560163002
      
      Cr-Commit-Position: refs/heads/master@{#33129}
      5fcfe05a
    • caitpotter88's avatar
      [promise] Make Promise.reject match spec, and validate promise capabilities · e4af5cdb
      caitpotter88 authored
      Correctly validate promise capabilities in NewPromiseCapabilities() and in
      GetCapabilitiesExtractor(). Also explicitly follows Promise.race step 2 and
      similar cases in the spec, rather than passing tests asserting these steps
      are taken in NewPromiseCapability
      
      Also changes Promise.reject to match specification.
      
      Fixes the following test262 tests:
      
      - built-ins/Promise/all/capability-executor-called-twice.js
      - built-ins/Promise/all/capability-executor-not-callable.js
      - built-ins/Promise/prototype/then/capability-executor-called-twice.js
      - built-ins/Promise/prototype/then/capability-executor-not-callable.js
      - built-ins/Promise/reject/capability-executor-called-twice.js
      - built-ins/Promise/reject/capability-executor-not-callable.js
      - built-ins/Promise/resolve/capability-executor-called-twice.js
      - built-ins/Promise/resolve/capability-executor-not-callable.js
      - built-ins/Promise/race/capability-executor-called-twice.js
      - built-ins/Promise/race/capability-executor-not-callable.js
      - built-ins/Promise/reject/S25.4.4.4_A3.1_T1.js
      - built-ins/Promise/race/S25.4.4.3_A3.1_T2.js
      
      Per v8:3641, mjsunit/es6/debug-promises/throw-with-undefined-reject.js becomes invalid. The exception is thrown before the chain handler is ever invoked, and is caught externally by d8's own handler --- thus evading the uncaught exception event.
      
      BUG=v8:4633, v8:4631, v8:4243, v8:3641
      LOG=N
      R=littledan@chromium.org, cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1531073004
      
      Cr-Commit-Position: refs/heads/master@{#33128}
      e4af5cdb