1. 16 Apr, 2015 31 commits
  2. 15 Apr, 2015 9 commits
    • adamk's avatar
      Revert "Add basic crankshaft support for slow-mode for-in to avoid disabling optimizations" · b054ff46
      adamk authored
      This reverts commit 8c98cc07
      because it causes flaky failures in the dromaeo.jslibeventprototype
      benchmark on Linux/Windows and consistent failures on Android.
      
      Also reverts the followup "Remove kForInStatementIsNotFastCase bailout reason"
      (commit ba24e676) to avoid breaking the build.
      
      BUG=chromium:476592
      TBR=verwaest@chromium.org
      LOG=y
      
      Review URL: https://codereview.chromium.org/1066663005
      
      Cr-Commit-Position: refs/heads/master@{#27859}
      b054ff46
    • wingo's avatar
      Fix FormalParameterErrorLocations member names · 53ddccfc
      wingo authored
      R=arv@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1083953002
      
      Cr-Commit-Position: refs/heads/master@{#27858}
      53ddccfc
    • mvstanton's avatar
      Array() in optimized code can create with wrong ElementsKind in corner cases. · 13459c1a
      mvstanton authored
      Calling new Array(JSObject::kInitialMaxFastElementArray) in optimized code
      makes a stub call that bails out due to the length. Currently, the bailout
      code a) doesn't have the allocation site, and b) wouldn't use it if it did
      because the length is perceived to be too high.
      
      This CL passes the allocation site to the stub call (rather than undefined),
      and alters the bailout code to utilize the feedback.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1086873003
      
      Cr-Commit-Position: refs/heads/master@{#27857}
      13459c1a
    • machenbach's avatar
      Revert of Simplify DoParseProgram (patchset #2 id:20001 of... · c85b2248
      machenbach authored
      Revert of Simplify DoParseProgram (patchset #2 id:20001 of https://codereview.chromium.org/1058363003/)
      
      Reason for revert:
      [Sheriff] Changes some layout tests on all platforms, e.g.:
      http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2032/builds/2543
      
      Original issue's description:
      > Simplify DoParseProgram
      >
      > DoParseProgram doesn't appear to need to receive toplevel scopes as
      > arguments; it can properly set the end_position of the scopes to the
      > scanner's position after parsing is complete.
      >
      > R=marja@chromium.org
      > BUG=
      > LOG=N
      >
      > Committed: https://crrev.com/8da9252f61d3c499a78b0b94299c314b2eb0b0c8
      > Cr-Commit-Position: refs/heads/master@{#27847}
      
      TBR=marja@chromium.org,wingo@igalia.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=
      
      Review URL: https://codereview.chromium.org/1089623002
      
      Cr-Commit-Position: refs/heads/master@{#27856}
      c85b2248
    • arv's avatar
      Fix issues with name and length on poison pill function · 79be7436
      arv authored
      In ES6 function name and length are configurable. However, the length
      and name properties of the poison pill function must not be
      configurable.
      
      BUG=v8:4011
      LOG=N
      R=adamk@chromium.org, rossberg@chromium.org
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      
      Review URL: https://codereview.chromium.org/1061393002
      
      Cr-Commit-Position: refs/heads/master@{#27855}
      79be7436
    • scottmg's avatar
      Make BitsetType enum uint32_t to avoid narrowing warnings · df087b23
      scottmg authored
      enum defaults to signed on win, and kTagged has 1<<31 causing
      warning.
      
      Full errors:
      
      d:\src\cr3\src\v8\src\types.cc(1259): error C2220: warning treated as error - no 'object' file generated
      d:\src\cr3\src\v8\src\types.cc(1241): note: while compiling class template member function 'void v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::BitsetType::Print(std::ostream &,v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::bitset)'
      d:\src\cr3\src\v8\src\types.cc(1283): note: see reference to function template instantiation 'void v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::BitsetType::Print(std::ostream &,v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::bitset)' being compiled
      d:\src\cr3\src\v8\src\types.cc(1355): note: see reference to class template instantiation 'v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::BitsetType' being compiled
      d:\src\cr3\src\v8\src\types.cc(1259): warning C4838: conversion from 'int' to 'const v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::bitset' requires a narrowing conversion
      d:\src\cr3\src\v8\src\types.cc(1259): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
      d:\src\cr3\src\v8\src\types.cc(323): warning C4838: conversion from '' to 'v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::bitset' requires a narrowing conversion
      d:\src\cr3\src\v8\src\types.cc(323): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
      d:\src\cr3\src\v8\src\types.cc(315): note: while compiling class template static data member 'const v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::BitsetType::Boundary v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>::BitsetType::BoundariesArray[]'
      d:\src\cr3\src\v8\src\types.cc(1259): warning C4838: conversion from 'int' to 'const v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::bitset' requires a narrowing conversion
      d:\src\cr3\src\v8\src\types.cc(1259): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
      d:\src\cr3\src\v8\src\types.cc(1241): note: while compiling class template member function 'void v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::BitsetType::Print(std::ostream &,v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::bitset)'
      d:\src\cr3\src\v8\src\types.cc(1283): note: see reference to function template instantiation 'void v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::BitsetType::Print(std::ostream &,v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::bitset)' being compiled
      d:\src\cr3\src\v8\src\types.cc(1359): note: see reference to class template instantiation 'v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::BitsetType' being compiled
      d:\src\cr3\src\v8\src\types.cc(323): warning C4838: conversion from '' to 'v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::bitset' requires a narrowing conversion
      d:\src\cr3\src\v8\src\types.cc(323): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
      d:\src\cr3\src\v8\src\types.cc(315): note: while compiling class template static data member 'const v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::BitsetType::Boundary v8::internal::TypeImpl<v8::internal::HeapTypeConfig>::BitsetType::BoundariesArray[]'
      
      LOG=N
      R=jochen@chromium.org
      BUG=440500
      
      Review URL: https://codereview.chromium.org/1055933004
      
      Cr-Commit-Position: refs/heads/master@{#27854}
      df087b23
    • scottmg's avatar
      Remove operator delete on VS2015 to avoid compiler bug · 961e61b0
      scottmg authored
      LOG=N
      R=jochen@chromium.org
      BUG=chromium:440500
      
      Review URL: https://codereview.chromium.org/1084763002
      
      Cr-Commit-Position: refs/heads/master@{#27853}
      961e61b0
    • Jakob Kummerow's avatar
      Makefile: introduce debugsymbols=on flag · 2064c3c9
      Jakob Kummerow authored
      R=jarin@chromium.org
      
      Review URL: https://codereview.chromium.org/1085283002
      
      Cr-Commit-Position: refs/heads/master@{#27852}
      2064c3c9
    • erikcorry's avatar
      Reduce regexp compiler stack size when not optimizing regexps · e0be0503
      erikcorry authored
      R=jkummerow@chromium.org
      BUG=chromium:475705
      LOG=y
      
      Review URL: https://codereview.chromium.org/1082763002
      
      Cr-Commit-Position: refs/heads/master@{#27851}
      e0be0503