1. 01 Feb, 2016 6 commits
    • ahaas's avatar
      [wasm] Initialize the root register for WASM tests. · a17bd3f3
      ahaas authored
      The root register is needed (at least on x64) to access
      ExternalReferences.
      
      R=titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1641153003
      
      Cr-Commit-Position: refs/heads/master@{#33631}
      a17bd3f3
    • zhengxing.li's avatar
      X87: Change the test case for X87 RunRoundInt32ToFloat32. · 587ad6fc
      zhengxing.li authored
       The CL #33347 (https://codereview.chromium.org/1589363002) added the RunRoundInt32ToFloat32 test case and X87 failed at it.
      
       The reason is same as the CL #31808 (issue 1430943002, X87: Change the test case for X87 float operations), please refer: https://codereview.chromium.org/1430943002/.
      
       Here is the key comments from CL #31808
       Some new test cases use CheckFloatEq(...) and CheckDoubleEq(...) function for result check. When GCC compiling the CheckFloatEq() and CheckDoubleEq() function,
       those inlined functions has different behavior comparing with GCC ia32 build and x87 build.
       The major difference is sse float register still has single precision rounding semantic. While X87 register has no such rounding precsion semantic when directly use register value.
       The V8 turbofan JITTed has exactly same result in both X87 and IA32 port.
      
       For CHECK_EQ(a, b) function, if a and b are doubles, it will has similar behaviors like CheckFloatEq(...) and CheckDoubleEq(...) function when compiled by GCC and causes the test case
       fail.
      
       So we add the following sentence to do type case to keep the same precision for RunRoundInt32ToFloat32. Such as: volatile double expect = static_cast<float>(*i).
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1649323002
      
      Cr-Commit-Position: refs/heads/master@{#33630}
      587ad6fc
    • littledan's avatar
      Ship RegExp subclassing · 4e982c0d
      littledan authored
      This patch ships the first part of RegExp subclassing--defining
      Symbol.{match,replace,search,split}, but keeping their original
      definitions which are restricted to a RegExp receiver and do not
      call out to the core 'exec' method. This is being shipped separately
      because the two sets of extension points are separate features with
      separate functionality. The amount of behavior which is held behind
      the flag is very small, just exposing the symbols as properties of
      Symbol--the behavior that the String methods call out to these Symbol
      properties has already been shipping unflagged.
      
      R=yangguo@chromium.org
      BUG=v8:4305,v8:4343,v8:4344,v8:4345
      LOG=Y
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      
      Review URL: https://codereview.chromium.org/1652793002
      
      Cr-Commit-Position: refs/heads/master@{#33629}
      4e982c0d
    • yangguo's avatar
      [regexp] fix indentation and variable shadowing. · a6aef237
      yangguo authored
      TBR=brucedawson@chromium.org
      
      Review URL: https://codereview.chromium.org/1655743002
      
      Cr-Commit-Position: refs/heads/master@{#33628}
      a6aef237
    • yangguo's avatar
      [debugger] correctly find function context. · 835b0383
      yangguo authored
      In the debugger we are interested in getting the context for the
      current frame, which is usually a function context. To do that,
      we used to call Context::declaration_context, which may also
      return a block context. This is wrong and can lead to crashes.
      Instead, we now use a newly introduced Context::closure_context,
      which skips block contexts. This works fine for the debugger,
      since we have other means to find and materialize block contexts.
      
      R=rossberg@chromium.org
      BUG=chromium:582051
      LOG=N
      
      Review URL: https://codereview.chromium.org/1648263002
      
      Cr-Commit-Position: refs/heads/master@{#33627}
      835b0383
    • v8-autoroll's avatar
      Update V8 DEPS. · f8593be2
      v8-autoroll authored
      Rolling v8/tools/clang to 667833c8778efe12d3d749f5f5dfd4b10a1388a0
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review URL: https://codereview.chromium.org/1651003002
      
      Cr-Commit-Position: refs/heads/master@{#33626}
      f8593be2
  2. 31 Jan, 2016 1 commit
  3. 30 Jan, 2016 2 commits
  4. 29 Jan, 2016 27 commits
  5. 28 Jan, 2016 4 commits
    • titzer's avatar
      [wasm] Fix misaligned accesses and endianness issues in decoders. · 716bc803
      titzer authored
      R=ahaas@chromium.org,bradnelson@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1644023002
      
      Cr-Commit-Position: refs/heads/master@{#33595}
      716bc803
    • rmcilroy's avatar
      [Interpreter] Add option to trace bytecode execution. · 6399fce5
      rmcilroy authored
      Adds --trace-ignition flag which allows tracing of bytecodes as they
      execute. As well as printing out the bytecode, this also prints out the
      input and output registers to each operation. The generated output looks
      as follows:
      
       -> 0x350cb46d5264 (139) : 49 fc fb 03 07    Call r4, r5, #3, [7]
            [ accumulator -> 0x177fba00bc99 <JS Array[2]> ]
            [          r4 -> 0x350cb46ce099 <JS Function InstallFunctions (SharedFunctionInfo 0x350cb46470c1)> ]
            [          r5 -> 0x350cb46cddc1 <an Object with map 0x35fdf590a3a9> ]
            [          r6 -> 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
            [          r7 -> 2 ]
            [ accumulator <- 0x350cb4604189 <undefined> ]
       -> 0x350cb46d5978 (47) : 4b f8 00 00 00    CallRuntime [248], r0, #0
            [ accumulator -> 0x350cb4604189 <undefined> ]
            [ accumulator <- 0x350cb4604189 <undefined> ]
       -> 0x350cb46d597d (52) : 23 09             Ldar a0
            [ accumulator -> 0x350cb4604189 <undefined> ]
            [          a0 -> 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
            [ accumulator <- 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
       -> 0x350cb46d597f (54) : 24 fd             Star r3
            [ accumulator -> 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
            [ accumulator <- 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
            [          r3 <- 0x350cb46d3f11 <JS Function Proxy (SharedFunctionInfo 0x350cb46d3e61)> ]
      
      Also adds support for --print_source and --print-ast to the interpreter.
      
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1640213002
      
      Cr-Commit-Position: refs/heads/master@{#33594}
      6399fce5
    • hpayer's avatar
      [heap] Refactor IncrementalMarking::Stop(). · 87b6e880
      hpayer authored
      BUG=
      
      Review URL: https://codereview.chromium.org/1649653004
      
      Cr-Commit-Position: refs/heads/master@{#33593}
      87b6e880
    • titzer's avatar
      [wasm] Fix CallIndirect with the case of no indirect function table. · 3668b2c0
      titzer authored
      R=ahaas@chromium.org,bradnelson@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1648503003
      
      Cr-Commit-Position: refs/heads/master@{#33592}
      3668b2c0