neis@chromium.org [Wed, 6 Aug 2014 08:49:56 +0000 (08:49 +0000)]
Remove obsolete declaration that broke Windows build.
TBR=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
440393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22904
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 08:28:01 +0000 (08:28 +0000)]
Remove non-trivial subtyping between bitset and non-bitset types.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
444503005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22903
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Wed, 6 Aug 2014 08:19:36 +0000 (08:19 +0000)]
Fix disassembly of sar(_, imm8)
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
442003002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22902
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 08:10:13 +0000 (08:10 +0000)]
Restore function on arm64
TBR=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
440373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22901
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 6 Aug 2014 08:04:13 +0000 (08:04 +0000)]
[Auto-roll] Bump up version to 3.28.61.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
440363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22900
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 08:02:21 +0000 (08:02 +0000)]
Load constants from the DescriptorArray
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
442763002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22899
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 07:20:14 +0000 (07:20 +0000)]
Check that external references are registered in the serializer.
Inspired by a patch by Slava Chigrin <vchigrin@yandex-team.ru>
R=jkummerow@chromium.org, vchigrin@yandex-team.ru
Review URL: https://codereview.chromium.org/
441983002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22896
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 06:35:29 +0000 (06:35 +0000)]
Move ARM64 macros to macro-assembler-arm64.h.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
444803003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22895
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 04:30:06 +0000 (04:30 +0000)]
Fix arm64 compilation with clang.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
443823002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22894
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 22:04:13 +0000 (22:04 +0000)]
[Auto-roll] Bump up version to 3.28.58.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
446683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22890
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Tue, 5 Aug 2014 19:37:32 +0000 (19:37 +0000)]
Enable ES6 Map and Set by default
In doing so also remove all references to the --harmony-collections flag.
Due to the way context snapshotting works, it's not possible to simply
enable the flag by default.
Depends on ES6 Symbols: https://codereview.chromium.org/
421313004
BUG=v8:1622
LOG=Y
R=arv@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
427723002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22889
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 19:12:06 +0000 (19:12 +0000)]
Fix webkit status file.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
447533002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22888
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 5 Aug 2014 17:06:01 +0000 (17:06 +0000)]
Track number of generic ICs per function
and use it to disable optimization if too many ICs are generic.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
441643008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22887
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 16:36:31 +0000 (16:36 +0000)]
Skip toString-number webkit test because of spurious failure.
BUG=
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
439933006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22886
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Tue, 5 Aug 2014 15:23:07 +0000 (15:23 +0000)]
Fix bailout ID for nullary arrow function literals
The FunctionState corresponding to the arrow function's body should be
torn down before the function literal is allocated, so that the function
literal gets a bailout id for the environment in which it appears.
We will also need to rewind bailout IDs in the environment of the
function literal, to return IDs allocated for arrow function arguments.
This will come in the next patch.
R=rossberg@chromium.org
BUG=v8:3475
LOG=N
Review URL: https://codereview.chromium.org/
442573004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22885
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 15:17:28 +0000 (15:17 +0000)]
Disable CPlusPlus11Features for making GCMole and NaCL unhappy.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
440083003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22884
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 14:39:25 +0000 (14:39 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22883
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 14:26:21 +0000 (14:26 +0000)]
Fix Native Client build.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
442783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22882
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 14:21:07 +0000 (14:21 +0000)]
[arm64] Fix.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
444663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22881
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 14:19:22 +0000 (14:19 +0000)]
Revert "Unbreak build with clang."
This reverts commit r22878 and fixes the actual bug instead.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
446573002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22880
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 14:06:33 +0000 (14:06 +0000)]
Fix ARM64 port after r22876.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
447443002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22879
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 5 Aug 2014 13:58:11 +0000 (13:58 +0000)]
Unbreak build with clang.
It's unclear whether it's a clang bug or our code is wrong, to be
verified later...
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
438323002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22878
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 13:32:26 +0000 (13:32 +0000)]
Implement lowering of JS[Load,Store][Property,Named] to ICs.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
439263004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22877
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 13:26:55 +0000 (13:26 +0000)]
[turbofan] Improve testability of the InstructionSelector.
Allow to pass the set of supported CPU features to
the InstructionSelector, so it can be tested without
messing with the command line flags.
Also add InstructionSelector sample for ia32.
TEST=cctest/test-instruction-selector,cctest/test-instruction-selector-{arm,ia32}
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
441883004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22876
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 5 Aug 2014 13:23:55 +0000 (13:23 +0000)]
Enable C++11. Synch toolchains with Chrome.
* Consistently enable C++11 features on all platforms.
* Use the same ARM toolchain version as Chrome.
* Make clang the default on Mac OS X, just like Chrome.
* Use C99 on Mac OS X, again following Chrome.
* Small build fixes.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
440663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22875
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 13:20:26 +0000 (13:20 +0000)]
Prevent direct inclusion of headers from TF.
R=jochen@chromium.org, titzer@chromium.org
Review URL: https://codereview.chromium.org/
438243004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22874
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 5 Aug 2014 13:19:32 +0000 (13:19 +0000)]
Undo some unintended changes from the Turbofan merge
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
435423002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22873
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Tue, 5 Aug 2014 13:17:49 +0000 (13:17 +0000)]
yield* calls @@iterator on iterable
R=rossberg@chromium.org
BUG=v8:3422
LOG=N
Review URL: https://codereview.chromium.org/
430693003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22872
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 13:06:17 +0000 (13:06 +0000)]
Another Win64 fix.
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
444643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22871
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:44:27 +0000 (12:44 +0000)]
Fix copy&paste bug in gtest.gyp.
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
441873008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22870
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:38:19 +0000 (12:38 +0000)]
Remove broken _WIN64 checks.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
440863002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22869
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 12:32:49 +0000 (12:32 +0000)]
Tag handlers as monomorphic
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
444623002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22868
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 12:09:23 +0000 (12:09 +0000)]
Precise sweeping makes zapping of garbage memory when trimming arrays obsolete
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
439863006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22867
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:09:01 +0000 (12:09 +0000)]
Fix compilation on arm64.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
435413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22866
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 12:04:58 +0000 (12:04 +0000)]
Precise sweeping makes zapping of garbage memory in UpdatePointer obsolete.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22865
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 11:58:24 +0000 (11:58 +0000)]
Move ClearNonLiveReferences and friends into the gc.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440063002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22864
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 11:53:32 +0000 (11:53 +0000)]
Cleanup V8_TURBOFAN_TARGET definition.
Move to globals.h so we do no longer skip any number of
tests. Introduce V8_TURBOFAN_BACKEND, which is 1 if we
actually have a backend and want to compile it, but don't
run the tests.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
444503003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22863
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Tue, 5 Aug 2014 11:42:57 +0000 (11:42 +0000)]
Verifier must ensure that start and end node of graph are set.
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
444583004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22862
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 11:27:44 +0000 (11:27 +0000)]
Removed GetConstructor from the API.
Instead either get the "constructor" property stored in the prototype, or keep a side-table.
LOG=y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
438303003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22861
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Tue, 5 Aug 2014 11:27:26 +0000 (11:27 +0000)]
Remove unnecesssary auxiliary definitions.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
413983005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22860
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 11:22:29 +0000 (11:22 +0000)]
Cleanup hydrogen generated handlers
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
445563002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22859
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 11:16:11 +0000 (11:16 +0000)]
Move left and right trimming of FixedArray into Heap.
R=hpayer@chromium.org
BUG=v8:3231
LOG=n
Review URL: https://codereview.chromium.org/
200443004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 5 Aug 2014 10:44:17 +0000 (10:44 +0000)]
Restore performance of accesses to JSGlobalProxy after r22802
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
446523002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22857
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 10:27:10 +0000 (10:27 +0000)]
Remove special frontend for callbacks with slow-mode holders.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
436273002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22856
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 10:16:47 +0000 (10:16 +0000)]
Revert "Initial import of unittests using GTest/GMock."
This reverts commit r22847 and r22848. Isolate initialization/shutdown
still broken (so certain debug builds just crash), and our compiler flags
do not work with other Google projects (i.e. GTest/GMock).
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
438243003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22855
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 09:40:09 +0000 (09:40 +0000)]
Force incremental marking when called from idle notification.
BUG=
R=ernstm@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/
426243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22854
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 09:32:55 +0000 (09:32 +0000)]
Inline LookupInHolder and NextHolder
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
437513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22853
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 09:24:27 +0000 (09:24 +0000)]
Reland "Also mark as prototype when passing in while creating a function."
Skip gc-stress for test relying on stable feedback (and hence stable gc timing).
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
441873005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22852
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Tue, 5 Aug 2014 08:47:39 +0000 (08:47 +0000)]
Make start node a value input to parameter nodes.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
437183002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22851
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Tue, 5 Aug 2014 08:18:22 +0000 (08:18 +0000)]
Move a bunch of GC related files to heap/ subdirectory
BUG=none
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
437993003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22850
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 5 Aug 2014 08:16:02 +0000 (08:16 +0000)]
Do not include native Javascript in ExecutionState frames.
When a debug event is triggered, the ExecutionState object should not
expose native JS code.
R=aandrey@chromium.org
Review URL: https://codereview.chromium.org/
429453005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22849
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 08:10:21 +0000 (08:10 +0000)]
Fix build.
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
442603004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22848
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 08:07:25 +0000 (08:07 +0000)]
Initial import of unittests using GTest/GMock.
R=jochen@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
439863004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22847
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 5 Aug 2014 07:42:06 +0000 (07:42 +0000)]
Merge three PromiseEvent's into one.
This also adds missing instrumentation and removes resolver tracking.
BUG=v8:3093
LOG=N
R=aandrey@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
416213004
Patch from Alexandra Mikhaylova <amikhaylova@google.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22846
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alph@chromium.org [Tue, 5 Aug 2014 07:31:17 +0000 (07:31 +0000)]
Make CPU profiler function names match ones from StackFrame iterator.
R=yangguo@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
417253003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22845
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 07:29:13 +0000 (07:29 +0000)]
Remove all encountered weak maps from the list of weak collections when incremental marking is aborted.
BUG=399527
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
439233002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22844
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 07:20:57 +0000 (07:20 +0000)]
Revert "Also mark as prototype when passing in while creating a function."
Breaks GC stress ARM64.
TBR=verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
439983002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22843
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
alph@chromium.org [Tue, 5 Aug 2014 07:08:39 +0000 (07:08 +0000)]
Move anonymous function name beautifying out of v8.
R=yangguo@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
425223004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 5 Aug 2014 03:24:18 +0000 (03:24 +0000)]
X87: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
port r22805
original commit message:
Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
438163003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22840
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Tue, 5 Aug 2014 03:20:18 +0000 (03:20 +0000)]
X87: Avoid one repeated property lookup when computing load ICs.
r22802 touches X87 port but it is not changed completely.
port r22802.
original commit message:
Avoid one repeated property lookup when computing load ICs.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
441873002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22839
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 4 Aug 2014 23:59:25 +0000 (23:59 +0000)]
Mark global-constructors-listing as failing in TestExpectations
They're failing due to the addition of Symbol to the global scope.
These expectations can be removed once https://codereview.chromium.org/
436353002
lands and gets picked up by the V8 webkit bots.
BUG=400507
LOG=N
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
435363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 4 Aug 2014 19:17:21 +0000 (19:17 +0000)]
Fix spurious debug-script assertion after enabling Symbols
This approach, of allowing either N or N+1 in this assert,
is the same approach used before my Symbols patch that naively
changed to use assertEquals.
TBR=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
439833002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22834
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 4 Aug 2014 19:08:13 +0000 (19:08 +0000)]
Fix Object-getOwnPropertyNames test after turning on Symbols
TBR=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
438103002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 4 Aug 2014 19:04:14 +0000 (19:04 +0000)]
[Auto-roll] Bump up version to 3.28.56.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
435233002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 4 Aug 2014 18:17:54 +0000 (18:17 +0000)]
Enable ES6 Symbols by default
In doing so also remove all references to the --harmony-symbols flag.
Due to the way context snapshotting works, it's not possible to simply enable
the flag by default.
BUG=v8:2158
LOG=Y
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
421313004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22831
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 15:23:29 +0000 (15:23 +0000)]
Also mark as prototype when passing in while creating a function.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
422233010
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22830
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@arm.com [Mon, 4 Aug 2014 15:17:19 +0000 (15:17 +0000)]
ARM64: fixed a couple of typos in TF
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
427713003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22829
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 15:12:01 +0000 (15:12 +0000)]
Don't insert transitions between maps for prototypes.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
437953004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22828
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 15:06:28 +0000 (15:06 +0000)]
Ensure prototypes always stay fast by turning them fast again after an operation that turned them slow
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
439243005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22827
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 15:02:07 +0000 (15:02 +0000)]
Keep function.prototype fast.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
437083004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22826
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 4 Aug 2014 14:34:14 +0000 (14:34 +0000)]
[Auto-roll] Bump up version to 3.28.55.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
436253003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22825
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Mon, 4 Aug 2014 14:30:01 +0000 (14:30 +0000)]
MIPS: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
Port r22805 (
d6b2885f)
BUG=
R=dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
439733003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22824
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 4 Aug 2014 14:17:52 +0000 (14:17 +0000)]
Fix more stack smashing bugs in test.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
415403008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22821
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 4 Aug 2014 13:27:33 +0000 (13:27 +0000)]
Fix build on Win64 for tests.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
423073008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22820
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 4 Aug 2014 12:51:34 +0000 (12:51 +0000)]
TF: simplified-lowering tests accidentally ran on unsupported platforms.
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
433423005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22817
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Jacob.Bramley@arm.com [Mon, 4 Aug 2014 12:46:43 +0000 (12:46 +0000)]
ARM64: Use ARRAY_SIZE where possible.
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
437813004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22816
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 4 Aug 2014 12:39:15 +0000 (12:39 +0000)]
Add support for untagged LoadField, StoreField, LoadElement, and StoreElement simplfied operators. This is needed for untagged accesses of typed array backing stores and generally cleans up.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
439223004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22815
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 4 Aug 2014 11:45:52 +0000 (11:45 +0000)]
Fix tools/generate-runtime-tests.py.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
436223003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22814
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 4 Aug 2014 11:40:26 +0000 (11:40 +0000)]
Fix typo.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
442443002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22813
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 4 Aug 2014 11:34:54 +0000 (11:34 +0000)]
Rename ASSERT* to DCHECK*.
This way we don't clash with the ASSERT* macros
defined by GoogleTest, and we are one step closer
to being able to replace our homegrown base/ with
base/ from Chrome.
R=jochen@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
430503007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22812
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Mon, 4 Aug 2014 11:00:19 +0000 (11:00 +0000)]
Runtime assert added to %NormalizeElements.
BUG=399654
LOG=N
R=danno@chromium.org
Review URL: https://codereview.chromium.org/
423073007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22809
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 10:47:10 +0000 (10:47 +0000)]
Reuse the nonexistent handler frontend for transition handlers
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
437953003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22808
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 4 Aug 2014 09:13:58 +0000 (09:13 +0000)]
Update test expectations for mjsunit/tools/tickprocessor
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
440673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22807
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 4 Aug 2014 09:11:02 +0000 (09:11 +0000)]
Add dependencies on gtest and gmock
Because Benedikt said so.
BUG=none
LOG=y
R=bmeurer@chromium.org, machenbach@chromium.org
Review URL: https://codereview.chromium.org/
434423002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22806
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 4 Aug 2014 09:09:21 +0000 (09:09 +0000)]
Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
430783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22805
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 4 Aug 2014 09:01:26 +0000 (09:01 +0000)]
Use ARRAY_SIZE instead of DIY code.
This improves r22769.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
437153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22804
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 4 Aug 2014 08:47:15 +0000 (08:47 +0000)]
Ensure LModByPowerOf2I only gets environment when it deopts.
R=svenpanne@chromium.org
TEST=mozilla (with new --always-opt)
Review URL: https://codereview.chromium.org/
423093009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22803
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 4 Aug 2014 08:34:56 +0000 (08:34 +0000)]
Avoid one repeated property lookup when computing load ICs.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
429053005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22802
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 4 Aug 2014 08:31:49 +0000 (08:31 +0000)]
Tick processor: improved [Summary] section
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
433043003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22801
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 4 Aug 2014 08:18:37 +0000 (08:18 +0000)]
[turbofan] Support for combining branches with <Operation>WithOverflow.
Also unify the handling of binops in the InstructionSelector
backends.
TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
415403005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22800
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Sat, 2 Aug 2014 12:52:28 +0000 (12:52 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22797
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 1 Aug 2014 15:31:13 +0000 (15:31 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22796
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 1 Aug 2014 15:29:15 +0000 (15:29 +0000)]
Paint the tree green for TF even more.
TBR=titzer@chromium.org
Review URL: https://codereview.chromium.org/
439483002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22795
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 1 Aug 2014 15:24:42 +0000 (15:24 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22794
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 1 Aug 2014 13:51:23 +0000 (13:51 +0000)]
Extend TF test coverage to unsupported targets.
R=titzer@chromium.org
TEST=all
Review URL: https://codereview.chromium.org/
416233003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22793
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 1 Aug 2014 13:08:05 +0000 (13:08 +0000)]
Paint the tree green for TF some more.
TBR=titzer@chromium.org
Review URL: https://codereview.chromium.org/
434023003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22792
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 1 Aug 2014 12:18:20 +0000 (12:18 +0000)]
[turbofan] Add support for Int32SubWithOverflow.
TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
432373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22791
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 1 Aug 2014 11:36:25 +0000 (11:36 +0000)]
Blacklist some webkit and mozilla test for TF.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
433493004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22790
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 1 Aug 2014 11:14:47 +0000 (11:14 +0000)]
[arm] Unify instruction selector for Word32Neg.
Previously code generation for Word32Neg (implemented as Word32Xor
with -1) was somewhat adhoc and not complete. Now it's uniform
and supports the full range of operand2's.
TEST=cctest/test-instruction-selector-arm,cctest/test-run-machops
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
434923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22789
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 1 Aug 2014 10:54:58 +0000 (10:54 +0000)]
TF: Rename ConvertXToY machine operators to ChangeXToY.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
435923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22788
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00