1. 17 Jul, 2015 2 commits
    • v8-autoroll's avatar
      Update V8 DEPS. · 40f0df5c
      v8-autoroll authored
      Rolling v8/buildtools to 125d157607de4d7c95bf8b02dd580aae17962f19
      
      Rolling v8/third_party/android_tools to 2abd22b08cd757f88362f44b02484de43e4b9611
      
      Rolling v8/third_party/icu to ffeeae138703e692f07d2c438203f32b84e7a094
      
      Rolling v8/tools/clang to f729011d84762dfae62bbf4218580367dbfc7451
      
      TBR=machenbach@chromium.org
      
      Review URL: https://codereview.chromium.org/1238783004
      
      Cr-Commit-Position: refs/heads/master@{#29718}
      40f0df5c
    • littledan's avatar
      Additional TypedArray tests · 8068b91d
      littledan authored
      - Test that TypedArray properties cannot be set in strict mode
        Properties like %TypedArray%.prototype.length have a getter and no
        setter. This test verifies that property, which was apparently not
        true in the past or had no test ensuring throwing in this case.
      - Test that TypedArray integer indexed properties (array elements)
        are not configurable
      
      Both of these have passed for some time, but there are open bugs against
      them and apparently no tests verifying that they are fixed.
      
      BUG=v8:3048, v8:3799
      LOG=N
      R=adamk
      
      Review URL: https://codereview.chromium.org/1232843005
      
      Cr-Commit-Position: refs/heads/master@{#29717}
      8068b91d
  2. 16 Jul, 2015 25 commits
  3. 15 Jul, 2015 13 commits
    • caitpotter88's avatar
      [cleanup] remove --harmony-classes flag from mjsunit/harmony/new-target · 124d2011
      caitpotter88 authored
      Unknown flag warning is adding unnecessary noise to terminal during
      test runs
      
      BUG=
      LOG=N
      R=adamk@chromium.org
      
      Review URL: https://codereview.chromium.org/1236993003
      
      Cr-Commit-Position: refs/heads/master@{#29691}
      124d2011
    • adamk's avatar
      [api] Deprecate unused Map/Set FromArray factory methods · 9aa1dac8
      adamk authored
      These were added when I thought they would be useful in Blink, but as
      it turned out they were not. They could likely be deleted immediately,
      but to play it safe I'll go through the usual deprecation process.
      
      Review URL: https://codereview.chromium.org/1236263004
      
      Cr-Commit-Position: refs/heads/master@{#29690}
      9aa1dac8
    • bbudge's avatar
      Expose SIMD.Float32x4 type to Javascript. · e5ed3bee
      bbudge authored
      This CL exposes the constructor function, defines type related
      information, and implements value type semantics.
      It also refactors test/mjsunit/samevalue.js to test SameValue and SameValueZero.
      
      TEST=test/mjsunit/harmony/simd.js, test/cctest/test-simd.cc
      
      LOG=Y
      BUG=v8:4124
      
      Review URL: https://codereview.chromium.org/1219943002
      
      Cr-Commit-Position: refs/heads/master@{#29689}
      e5ed3bee
    • balazs.kilvady's avatar
      MIPS: Fix 'Reland Update V8 DEPS.' · bb247d4f
      balazs.kilvady authored
      Port c63e50ed
      
      BUG=
      TEST=test-disasm-mips/Type
      
      Review URL: https://codereview.chromium.org/1233323002
      
      Cr-Commit-Position: refs/heads/master@{#29688}
      bb247d4f
    • brucedawson's avatar
      Fix runtime-atomics for Win 10 SDK and remove volatile · b2ed2530
      brucedawson authored
      For unclear and probably accidental reasons the Windows 10 SDK
      renamed some _Interlocked* functions to _InlineInterlocked. This
      leads to these errors:
      
      runtime-atomics.cc(159): error C3861: '_InterlockedExchange64': identifier not found
      runtime-atomics.cc(159): error C3861: '_InterlockedExchangeAdd64': identifier not found
      runtime-atomics.cc(159): error C3861: '_InterlockedAnd64': identifier not found
      runtime-atomics.cc(159): error C3861: '_InterlockedOr64': identifier not found
      runtime-atomics.cc(159): error C3861: '_InterlockedXor64': identifier not found
      
      Fixing this requires either adding defines to map these five _Interlocked*
      functions to _InlineInterlocked*, or else changing to using the
      non-underscore versions. It appears that using the non-underscore versions
      is preferable so I went that way. This also requires adding three  new
      defines because there is a huge lack of consistency, probably due to these
      macros being defined sometimes in <intrin.h> and sometimes in <winnt.h>
      
      All five of the renamed 64-bit functions were manually checked to ensure
      that the change to the non-underscore versions would make no differences -
      the inline functions that they map to were identical. Other functions were
      spot-checked.
      
      Also, the 'volatile' qualifiers were removed. Volatile has no no useful
      meaning for multi-threaded programming. It only exists in the Interlocked*
      prototypes to *allow* volatile variables to be passed. Since this is a bad
      habit to encourage there is no reason for us to permit it, and we can
      still call the Microsoft functions (T* converts to volatile T*, just not
      vice-versa).
      
      The updated code builds with the Windows 8.1 SDK and with the Windows 10 SDK.
      
      R=jarin@chromium.org
      LOG=Y
      BUG=440500,491424
      
      Review URL: https://codereview.chromium.org/1228063005
      
      Cr-Commit-Position: refs/heads/master@{#29687}
      b2ed2530
    • verwaest's avatar
      Cleanup element normalization logic · 99b59d16
      verwaest authored
      BUG=
      
      Review URL: https://codereview.chromium.org/1241883002
      
      Cr-Commit-Position: refs/heads/master@{#29686}
      99b59d16
    • jkummerow's avatar
      Fix performance regression introduced in r29558 · 597af292
      jkummerow authored
      where bound functions started overriding the "name" accessor property with a data property. The bootstrapper must be kept in sync to avoid polymorphism.
      
      BUG=chromium:509983
      LOG=n
      R=verwaest@chromium.org
      
      Review URL: https://codereview.chromium.org/1238903002
      
      Cr-Commit-Position: refs/heads/master@{#29685}
      597af292
    • adamk's avatar
      Fix spread array inside array literal · 24e98281
      adamk authored
      During parsing, we now keep track of the first spread seen in an array
      literal (if any), and make use of that information when creating the
      FixedArray backing store representing the constant elements for array
      literal materialization.
      
      The old code tried to do this by setting the generated JSArray's length
      in ArrayLiteral::BuildConstantElements(), but that Array length is never
      read by the rest of the literal materialization code (it always uses
      the length of the FixedArray backing store).
      
      BUG=v8:4298
      LOG=n
      
      Review URL: https://codereview.chromium.org/1225223004
      
      Cr-Commit-Position: refs/heads/master@{#29684}
      24e98281
    • adamk's avatar
      [es6] Fix String.prototype.normalize to properly validate argument · 9c8f78e2
      adamk authored
      BUG=v8:4302
      LOG=n
      
      Review URL: https://codereview.chromium.org/1237873003
      
      Cr-Commit-Position: refs/heads/master@{#29683}
      9c8f78e2
    • ishell's avatar
      Fix broken Variable::IsGlobalObjectProperty() after https://codereview.chromium.org/1218783005 · 3bf99352
      ishell authored
      Review URL: https://codereview.chromium.org/1228373011
      
      Cr-Commit-Position: refs/heads/master@{#29682}
      3bf99352
    • mstarzinger's avatar
      Switch CallConstructStub to take new.target in register. · 1d9d8957
      mstarzinger authored
      This changes the calling convention of the CallConstructStub to take
      the original constructor (i.e. new.target in JS-speak) in a register
      instead of magically via the operand stack. For optimizing compilers
      the operand stack doesn't exist, hence cannot be peeked into.
      
      R=mvstanton@chromium.org
      
      Review URL: https://codereview.chromium.org/1237813002
      
      Cr-Commit-Position: refs/heads/master@{#29681}
      1d9d8957
    • epertoso's avatar
      Let the second pass phantom callbacks run in a separate task on the foreground thread. · e6e53390
      epertoso authored
      R=jochen@chromium.org
      LOG=y
      BUG=
      
      Review URL: https://codereview.chromium.org/1209403005
      
      Cr-Commit-Position: refs/heads/master@{#29680}
      e6e53390
    • mvstanton's avatar
      Special printing for type feedback vectors. · 9386b861
      mvstanton authored
      Gdb macro jfv on an object will print it as a feedback vector.
      Printouts look like this:
      
      DebugPrint: 0x5dc0d2ad: [TypeFeedbackVector]
       - length: 12
       - ics with type info: 3
       - generic ics: 0
       ICSlot 0 CALL_IC MONOMORPHIC
        [4]: 0x5dc0d365 WeakCell for 0x5dc0cd69 <JS Function foo (SharedFunctionInfo 0x5dc0cb0d)>
        [5]: 0x4203c4c1 <Code: HANDLER>
       ICSlot 1 LOAD_IC MONOMORPHIC
        [6]: 0x5dc0d1f5 WeakCell for 0x3a710481 <Map(FAST_HOLEY_SMI_ELEMENTS)>
        [7]: 0x4203a1c1 <Code: HANDLER>
       ICSlot 2 LOAD_IC UNINITIALIZED
        [8]: 0x3060d045 <Symbol: 711234650 <String[20]: uninitialized_symbol>>
        [9]: 0x3060d045 <Symbol: 711234650 <String[20]: uninitialized_symbol>>
       ICSlot 3 LOAD_IC MONOMORPHIC
        [10]: 0x5dc0d3b5 WeakCell for 0x3a710d71 <Map(FAST_HOLEY_ELEMENTS)>
        [11]: 0x4202af01 <Code: HANDLER>
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1225403005
      
      Cr-Commit-Position: refs/heads/master@{#29679}
      9386b861