wingo@igalia.com [Mon, 27 Oct 2014 15:00:09 +0000 (15:00 +0000)]
Move AST node counting to post-pass
R=mstarzinger@chromium.org, svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
675493002
Cr-Commit-Position: refs/heads/master@{#24909}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24909
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 27 Oct 2014 14:36:36 +0000 (14:36 +0000)]
Revert "Enable turbofan deoptimization by default."
This reverts commit
866032692ff59ac4282e6d1a483cbb52870cc784 for breaking
tests.
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
681713004
Cr-Commit-Position: refs/heads/master@{#24908}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24908
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Mon, 27 Oct 2014 13:04:46 +0000 (13:04 +0000)]
SimpleMove now calls [[Has]] before [[Get]] when moving elements
BUG=v8:3643
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
678753002
Cr-Commit-Position: refs/heads/master@{#24907}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24907
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 27 Oct 2014 12:57:50 +0000 (12:57 +0000)]
Remove unused return values from PreEdge visitor.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
679093002
Cr-Commit-Position: refs/heads/master@{#24906}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24906
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 27 Oct 2014 12:46:44 +0000 (12:46 +0000)]
Enable turbofan deoptimization by default.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
638833004
Cr-Commit-Position: refs/heads/master@{#24905}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24905
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 27 Oct 2014 12:39:20 +0000 (12:39 +0000)]
[turbofan] reduce allocations outside of pipeline
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
679793003
Cr-Commit-Position: refs/heads/master@{#24904}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24904
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Mon, 27 Oct 2014 12:37:40 +0000 (12:37 +0000)]
Revert "Make all references from root shortcuts (except one to GC roots)"
This reverts commit
940418d2e1150499a28cca60b5dd138d351ec652. It resulted in orphan (Document DOM trees) and (Detached DOM trees) nodes.
BUG=chromium:414190
LOG=N
TBR=loislo@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
639753007
Cr-Commit-Position: refs/heads/master@{#24903}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24903
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yurys@chromium.org [Mon, 27 Oct 2014 12:10:19 +0000 (12:10 +0000)]
Make all references from root shortcuts (except one to GC roots)
Eventually we are going to nuke this shortcuts from root entry altogether. This fix makes (GC roots) retained size equal to the snapshot's total size.
BUG=chromium:414190
LOG=N
R=loislo@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
681743002
Cr-Commit-Position: refs/heads/master@{#24902}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24902
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erikcorry@chromium.org [Mon, 27 Oct 2014 12:03:25 +0000 (12:03 +0000)]
Revert 'Introduce phantom weak handles in the API and use them internally for debug info'
Revert of https://codereview.chromium.org/
649563006/ due to layout test
failures.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
677403002
Cr-Commit-Position: refs/heads/master@{#24901}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24901
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 27 Oct 2014 11:57:58 +0000 (11:57 +0000)]
Revert "Limit the number of transitions allowed per hidden class." Due to crashes in ClearMapTransitions
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
661583004
Cr-Commit-Position: refs/heads/master@{#24900}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24900
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erikcorry@chromium.org [Mon, 27 Oct 2014 11:04:33 +0000 (11:04 +0000)]
Introduce phantom weak handles in the API and use them internally for debug info
R=jochen@chromium.org, ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
649563006
Cr-Commit-Position: refs/heads/master@{#24899}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24899
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Mon, 27 Oct 2014 10:29:52 +0000 (10:29 +0000)]
Fix Win64 build after r24896
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
646943007
Cr-Commit-Position: refs/heads/master@{#24898}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24898
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Mon, 27 Oct 2014 10:29:20 +0000 (10:29 +0000)]
Fix non-TF targets after r24874.
Fix mips64 and presumably x87.
BUG=
R=mstarzinger@chromium.org, sigurds@chromium.org
Review URL: https://codereview.chromium.org/
679433004
Patch from Paul Lind <paul.lind@imgtec.com>.
Cr-Commit-Position: refs/heads/master@{#24897}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24897
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Mon, 27 Oct 2014 10:12:16 +0000 (10:12 +0000)]
[turbofan] Reduce memory consumption of graph building
Allow reservation of additional input capacity when creating nodes to prevent switching to deque representation when adding well-known additional inputs.
Also ensure that only a single temporary buffer is used to create temporary input arrays before allocating nodes.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
644083003
Cr-Commit-Position: refs/heads/master@{#24896}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24896
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 27 Oct 2014 09:36:51 +0000 (09:36 +0000)]
[turbofan] delete graph and schedule before register allocation.
R=mstarzinger@chromium.org, titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
662513005
Cr-Commit-Position: refs/heads/master@{#24894}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24894
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 27 Oct 2014 09:02:49 +0000 (09:02 +0000)]
pass isolate to Value::To* functions
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
669373002
Cr-Commit-Position: refs/heads/master@{#24893}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24893
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 27 Oct 2014 08:58:55 +0000 (08:58 +0000)]
[turbofan] add absolute peak to stats
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
676693002
Cr-Commit-Position: refs/heads/master@{#24892}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24892
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 27 Oct 2014 08:41:32 +0000 (08:41 +0000)]
Implement control reducer, which reduces branches and phis together in a single fixpoint.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
665223006
Cr-Commit-Position: refs/heads/master@{#24891}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24891
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
paul.lind@imgtec.com [Sun, 26 Oct 2014 22:43:17 +0000 (22:43 +0000)]
MIPS64: Fix bug in super assignment from r24570.
TEST=mjsunit/harmony/super.js
BUG=
R=akos.palfi@imgtec.com
Review URL: https://codereview.chromium.org/
677813002
Cr-Commit-Position: refs/heads/master@{#24889}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24889
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Sun, 26 Oct 2014 12:49:56 +0000 (12:49 +0000)]
[turbofan] Implement the correct semantics for integer division/modulus.
Also fix the sdiv/udiv instructions on ARM as a nice side effect.
TEST=cctest,unittests
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
677483005
Cr-Commit-Position: refs/heads/master@{#24888}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24888
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Sun, 26 Oct 2014 10:44:57 +0000 (10:44 +0000)]
Handle noi18n in deopt.
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
670023003
Cr-Commit-Position: refs/heads/master@{#24887}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24887
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Sun, 26 Oct 2014 10:24:49 +0000 (10:24 +0000)]
Add more missing deopts
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
639883002
Cr-Commit-Position: refs/heads/master@{#24886}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24886
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 24 Oct 2014 19:28:23 +0000 (19:28 +0000)]
Add remaining @@toStringTag symbols to builtins
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
664333003
Patch from Caitlin Potter <caitpotter88@gmail.com>.
Cr-Commit-Position: refs/heads/master@{#24885}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24885
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Fri, 24 Oct 2014 18:07:59 +0000 (18:07 +0000)]
SimpleSlice now calls [[Get]] before [[Has]] when generating copy
SparseSlice does not need this (non-optimal) reordering since its
callers guarantee that [[Get]] has no side effects on the passed-in array.
BUG=v8:3643
LOG=n
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
674003002
Cr-Commit-Position: refs/heads/master@{#24884}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24884
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Fri, 24 Oct 2014 18:04:03 +0000 (18:04 +0000)]
Widen definition of %HasComplexElements() to include non-enumerability
This avoids using the Sparse methods on objects with non-enumerable elements,
which can cause the 'enumerable: false' bit to get lost in the operation.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
672323003
Cr-Commit-Position: refs/heads/master@{#24883}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24883
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
baptiste.afsa@arm.com [Fri, 24 Oct 2014 15:29:19 +0000 (15:29 +0000)]
[arm64] Use logical immediates when matching tst instructions.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
668633003
Cr-Commit-Position: refs/heads/master@{#24882}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24882
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 24 Oct 2014 15:04:02 +0000 (15:04 +0000)]
Fix "jst" GDB macro
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
669383002
Cr-Commit-Position: refs/heads/master@{#24881}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24881
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 24 Oct 2014 15:02:29 +0000 (15:02 +0000)]
Check string literals with escapes in PreParserTraits::GetSymbol()
LOG=Y
BUG=v8:3606
R=arv@chromium.org, marja@chromium.org
Review URL: https://codereview.chromium.org/
615813004
Patch from Caitlin Potter <caitpotter88@gmail.com>.
Cr-Commit-Position: refs/heads/master@{#24880}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24880
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 24 Oct 2014 14:40:43 +0000 (14:40 +0000)]
Whitespace change for testing gnumbd.
Cr-Commit-Position: refs/heads/master@{#24878}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24878
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 24 Oct 2014 13:57:32 +0000 (13:57 +0000)]
Fix bugs in Scheduler hoisting and RPO loop bounds computations.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
677683002
Cr-Commit-Position: refs/heads/master@{#24877}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24877
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 24 Oct 2014 13:48:02 +0000 (13:48 +0000)]
Add Schedule::InsertBranch to fuse control flow graphs.
R=jarin@chromium.org
TEST=cctest/test-schedule/TestScheduleInsertBranch
Review URL: https://codereview.chromium.org/
675983002
Cr-Commit-Position: refs/heads/master@{#24876}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24876
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 24 Oct 2014 13:21:17 +0000 (13:21 +0000)]
only define ARRAYSIZE_UNSAFE for NaCl builds
Now that C++11 is allowed, we can use arraysize instead of
ARRAYSIZE_UNSAFE, except in NaCl builds. So let's move this
macro inside an NaCl ifdef.
BUG=chromium:405225
LOG=y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
668303002
Patch from Mostyn Bramley-Moore <mostynb@opera.com>.
Cr-Commit-Position: refs/heads/master@{#24875}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24875
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Fri, 24 Oct 2014 13:06:48 +0000 (13:06 +0000)]
Add Float64Floor, Float64Ceil, Float64RoundTruncate, Float64RoundTiesAway operators.
These operators are not supported by any backends yet, and a backend is free to not support them.
R=bmeurer@chromium.org
TEST=unittest/machine-operator
Review URL: https://codereview.chromium.org/
668173002
Cr-Commit-Position: refs/heads/master@{#24874}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24874
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Fri, 24 Oct 2014 13:02:23 +0000 (13:02 +0000)]
AstValueFactory: make true, false, null, undefined and "the hole" unique values.
They were not, so we were creating several instances of them, one for each time
they occurred in the source code.
It's not known to have caused efficiency problems though, so this is a sanity
fix more than an efficiency fix.
Note that numbers are still not unique.
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
657893003
Cr-Commit-Position: refs/heads/master@{#24873}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24873
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 24 Oct 2014 12:41:52 +0000 (12:41 +0000)]
Enable --serialize-toplevel by default.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
661343003
Cr-Commit-Position: refs/heads/master@{#24872}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24872
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 24 Oct 2014 12:40:05 +0000 (12:40 +0000)]
Tweaks to the code serializer.
- consider the source string as a special sort of back reference.
- use repeat op code for more root members.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
674883002
Cr-Commit-Position: refs/heads/master@{#24871}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24871
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 24 Oct 2014 12:39:49 +0000 (12:39 +0000)]
TurboFan calls to vector-based ics need to resolve a slot to an index.
This is to cope with the recent division of the TypeFeedbackVector into
Slots and ICSlots.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
673203002
Cr-Commit-Position: refs/heads/master@{#24870}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24870
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 24 Oct 2014 12:36:45 +0000 (12:36 +0000)]
Improve printing for Symbols.
Private symbols we create in the heap don't have names, but we can
resolve them to a constant string.
This gives handy debugger output like:
(gdb) job 0x2020c67d
0x2020c67d: [Symbol]
- hash:
547385396
- name: 0x20208091 <undefined> (uninitialized_symbol)
- private: 1
- own: 1
$7 = void
(gdb)
or with ShortPrint() in an array:
...
[5]: 0x2020c67d <Symbol:
547385396 (uninitialized_symbol)>
...
Printing help for internal symbols
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
677633003
Cr-Commit-Position: refs/heads/master@{#24869}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24869
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 24 Oct 2014 12:33:58 +0000 (12:33 +0000)]
Use memcpy in List::AddAll for fundamental types.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
663893004
Cr-Commit-Position: refs/heads/master@{#24868}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24868
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 24 Oct 2014 12:32:42 +0000 (12:32 +0000)]
Generate fake basic block for Terminate node.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
650633003
Cr-Commit-Position: refs/heads/master@{#24867}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24867
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 24 Oct 2014 12:28:22 +0000 (12:28 +0000)]
PropertyICCompiler: expose monomorphic keyed load handler creation.
Simple refactoring that is useful for upcoming --vector-ic changes.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
673933005
Cr-Commit-Position: refs/heads/master@{#24866}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24866
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 24 Oct 2014 12:17:17 +0000 (12:17 +0000)]
Whitespace change.
Cr-Commit-Position: refs/heads/master@{#24865}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24865
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 24 Oct 2014 11:58:27 +0000 (11:58 +0000)]
Whitespace change.
Cr-Commit-Position: refs/heads/master@{#24864}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24864
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 24 Oct 2014 09:48:58 +0000 (09:48 +0000)]
Whitespace change to test gnumbd.
TBR=agable@chromium.org
Review URL: https://codereview.chromium.org/
672293006
Cr-Commit-Position: refs/heads/master@{#24863}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24863
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 24 Oct 2014 09:36:40 +0000 (09:36 +0000)]
[x86] Fix register constraints for multiply-high.
TEST=mjsunit/compiler,unittests
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
671393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24862
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 24 Oct 2014 08:37:03 +0000 (08:37 +0000)]
Log code event for deserialized code.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
663453005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24861
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 24 Oct 2014 08:25:00 +0000 (08:25 +0000)]
Unbreak c1visualizer.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
673873004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24860
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Fri, 24 Oct 2014 07:34:20 +0000 (07:34 +0000)]
X87: Classes: implement 'new super'.
port r24825.
original commit message:
Classes: implement 'new super'.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
663233003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24859
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 24 Oct 2014 07:29:39 +0000 (07:29 +0000)]
Make block writes in the serializer more efficient.
And also fix a OOB read in SerializeExternalString.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
671633004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 24 Oct 2014 05:29:54 +0000 (05:29 +0000)]
Limit the number of transitions allowed per hidden class.
Each time a transition is added to a hidden class, the whole
transitions array must be copied, which causes poor performance
in some circumstances. This change limits the maximum size of
the transition array, avoiding this behavior in the pathological
case. For example, this improves the performance of the EtchMark
benchmark by nearly 60%.
BUG=v8:3616
LOG=
R=verwaest@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
635883003
Patch from Kevin M. McCormick <mckev@amazon.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24857
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Thu, 23 Oct 2014 21:13:29 +0000 (21:13 +0000)]
Fix sparse versions of Array slice/splice to use [[DefineOwnProperty]] to generate return value
BUG=chromium:423633
LOG=n
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
673893002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24856
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Thu, 23 Oct 2014 18:21:50 +0000 (18:21 +0000)]
Narrow cases where Sparse/Smart versions of Array methods are used
Added a new %HasComplexElements runtime function (meaning elements that are
non-writable, non-configurable, or have getters and setters) and use it
in UseSparseVariant to filter out cases where the sparse optimizations
can cause V8 to fall out of spec compliance.
Renamed SmartMove/SmartSlice to SparseMove/SparseSlice and guarded them
with the new and improved UseSparseVariant.
These two changes combine let us pass nearly every test in bug-2615.js,
as well as fixing reverse and join on sparse arrays.
Note that there are various test changes in this patch that correct existing
tests to match the correct-by-spec behavior.
This patch depends on https://codereview.chromium.org/
666883009, which
better-aligns the behavior of SmartMove with SimpleMove.
BUG=v8:2615,v8:3612,v8:3621
LOG=y
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
656423004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24855
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Thu, 23 Oct 2014 17:46:34 +0000 (17:46 +0000)]
Change SmartMove no-op behavior to match SimpleMove (and ES6 spec)
The previous behavior, which caused Array.prototype.unshift() (with no args)
to have side-effects, no longer matches the spec (ES6 changed the no-arg behavior
in April 2014). The new SmartMove behavior is also compatible with current
versions of Firefox.
This is a baby step towards getting rid of SmartMove; it isolates the test
change in this patch, instead of lumping it in confusingly with all the
other test updates necessary for moving away from SmartMove.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
666883009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24854
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 23 Oct 2014 16:29:43 +0000 (16:29 +0000)]
Move special RPO computation into separate class.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
673753003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24853
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 23 Oct 2014 16:11:56 +0000 (16:11 +0000)]
Make GIT ignore all turbo.cfg files.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
667553003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24852
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Thu, 23 Oct 2014 15:16:27 +0000 (15:16 +0000)]
Shrink new space in idle notification.
BUG=chromium:424423
LOG=Y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
662543008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24851
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Thu, 23 Oct 2014 15:09:38 +0000 (15:09 +0000)]
Disambiguate pow
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
673793002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24850
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Thu, 23 Oct 2014 14:41:39 +0000 (14:41 +0000)]
Fixed mutable heap numbers leak in JSON parser.
BUG=chromium:423687
LOG=N
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
669403002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24849
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Thu, 23 Oct 2014 14:40:43 +0000 (14:40 +0000)]
[turbofan] Use range types to type and lower arithmetic ops.
This is based on Georg's work on typing arithmetic operations (https://codereview.chromium.org/
658743002/).
Instead of weakening to bitset types, we weaken to the closest 2^n
limit if we see that we are re-typing a node with a range type (which
means that the node can be part of a cycle, so we might need
to speed up the fixpoint there).
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
636283009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24848
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 23 Oct 2014 14:38:25 +0000 (14:38 +0000)]
Whitespace change to trigger bots.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
667213006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24847
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 23 Oct 2014 14:27:15 +0000 (14:27 +0000)]
Switch release scripts to new git workflow.
BUG=410721
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
676713003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24846
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 23 Oct 2014 12:59:48 +0000 (12:59 +0000)]
fix another static initializer
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
666333004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24843
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 12:30:20 +0000 (12:30 +0000)]
harmony-scoping: Allow 'const' iteration variables in strict mode.
R=rossberg@chromium.org
BUG=v8:2506
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=24834
Review URL: https://codereview.chromium.org/
671913002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Thu, 23 Oct 2014 12:05:46 +0000 (12:05 +0000)]
MIPS: Classes: implement 'new super'.
Port r24825 (
b26f0181)
BUG=
R=dslomov@chromium.org, dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
676703002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24841
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 23 Oct 2014 11:56:26 +0000 (11:56 +0000)]
Reland 'Simplify TurboFan's c1visualizer file handling.'
This is r24819 plus some tiny fixes to make the Mac toolchain happy.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
676673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24840
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 11:55:19 +0000 (11:55 +0000)]
Revert "harmony-scoping: Allow 'const' iteration variables in strict mode."
This reverts commit r24834 for breaking debug tests.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
672193002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24839
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 23 Oct 2014 11:42:30 +0000 (11:42 +0000)]
Remove deprecated lexer-shell.
R=marja@chromium.org
Review URL: https://codereview.chromium.org/
658633003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24838
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Thu, 23 Oct 2014 11:31:33 +0000 (11:31 +0000)]
More details printed for Map, DescriptorArray and TransitionArray.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
659363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24837
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 11:23:57 +0000 (11:23 +0000)]
De-virtualize snapshot sink.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
669133003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24836
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 23 Oct 2014 11:19:44 +0000 (11:19 +0000)]
fix build after r24830
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
675733002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24835
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 11:18:50 +0000 (11:18 +0000)]
harmony-scoping: Allow 'const' iteration variables in strict mode.
R=rossberg@chromium.org
BUG=v8:2506
LOG=N
Review URL: https://codereview.chromium.org/
671913002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24834
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 23 Oct 2014 10:33:49 +0000 (10:33 +0000)]
Make sure floating phi nodes are coupled to their control (2).
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
673513004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24833
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 23 Oct 2014 10:22:06 +0000 (10:22 +0000)]
[turbofan] Improve code generation for inline comparisons with zero.
TEST=cctest,unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
669133004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24832
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 09:32:18 +0000 (09:32 +0000)]
Fix memory leak in RootIndexMap.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
671153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24831
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 23 Oct 2014 09:14:35 +0000 (09:14 +0000)]
[turbofan] split compilation stats off from HStatistics and track high water marks
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
669053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24830
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 09:01:09 +0000 (09:01 +0000)]
Second compile fix to r24826.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
645163009
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24829
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 08:56:54 +0000 (08:56 +0000)]
Fix compile errors in r24826.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
656793005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24828
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 08:43:17 +0000 (08:43 +0000)]
Use hash map to look for objects in the root array when serializing.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
645533003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24826
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 08:32:23 +0000 (08:32 +0000)]
Classes: implement 'new super'.
R=ishell@chromium.org, arv@chromium.org
BUG=v8:3330
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=24822
Review URL: https://codereview.chromium.org/
665773003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24825
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 23 Oct 2014 08:25:42 +0000 (08:25 +0000)]
Small fixes for the code serializer.
- assertions regarding max heap object size.
- ensure string table capacity upfront.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
671843003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24824
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 08:21:30 +0000 (08:21 +0000)]
Revert "Classes: implement 'new super'."
This reverts commit r24822 for breaking debug compilation.
TBR=ishell@chromium.org
Review URL: https://codereview.chromium.org/
662253003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24823
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 23 Oct 2014 08:11:51 +0000 (08:11 +0000)]
Classes: implement 'new super'.
R=ishell@chromium.org, arv@chromium.org
BUG=v8:3330
LOG=N
Review URL: https://codereview.chromium.org/
665773003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24822
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 23 Oct 2014 07:36:39 +0000 (07:36 +0000)]
Revert "Simplify TurboFan's c1visualizer file handling."
This reverts r24819, it broke the build on Mac due to header incompatibilities.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
672873002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24821
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 23 Oct 2014 07:34:36 +0000 (07:34 +0000)]
[turbofan] Currently we cannot handle typed arrays bigger than 2GiB.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
676643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24820
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 23 Oct 2014 07:26:13 +0000 (07:26 +0000)]
Simplify TurboFan's c1visualizer file handling.
Still having GetTurboCfgFileName in Isolate is ugly, but if we decide that we
don't want to truncate the output file (which would be consistent with
--trace-hydrogen), this could be moved to TurboCfgFile where it actually
belongs.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
666223003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24819
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Thu, 23 Oct 2014 05:57:01 +0000 (05:57 +0000)]
Cleanup ConsStringIteratorOp.
R=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
663313003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24818
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 23 Oct 2014 04:18:17 +0000 (04:18 +0000)]
Skip webkit/array-iterate-backwards for TF.
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
672113002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24817
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 23 Oct 2014 04:16:22 +0000 (04:16 +0000)]
Skip webkit/dfg-int-overflow-in-loop for TF.
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
652183005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24816
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@arm.com [Wed, 22 Oct 2014 18:24:20 +0000 (18:24 +0000)]
ARM64: Fix stack manipulation.
Builtins::Generate_StringConstructCode was claiming stack space instead of
giving it back.
BUG=chromium:425585
LOG=Y
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
672623003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24815
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Wed, 22 Oct 2014 18:16:35 +0000 (18:16 +0000)]
Speed up creation of Objects whose prototype has dictionary elements
This speeds up both the case from the bug (using Object.create) but also
takes care ofthe "{ __proto__: obj }" syntax, which was previously (and
erroneously) being treated the same as setting the prototype dynamically
from script using the __proto__ setter or Object.setPrototypeOf.
BUG=chromium:422754
LOG=y
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
667253002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24814
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Wed, 22 Oct 2014 17:21:53 +0000 (17:21 +0000)]
Fix {get,set}ter-on-elements tests to run through all creation functions
setter-on-elements had the wrong length hardcoded in a for loop over the
creation functions (getter-on-elements had the right length, but seemed
worth future-proofing).
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
643143005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24813
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Wed, 22 Oct 2014 17:15:38 +0000 (17:15 +0000)]
Add Terminate operator.
Terminate is need for non-terminating loops (NTLs) that can appear after optimizing control flow. It gathers the control and effect(s) from a NTL and connects them to end so that they are not dead-code removed.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
651843004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24812
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 22 Oct 2014 15:30:50 +0000 (15:30 +0000)]
Update intialization of vtune support.
In R23940 (https://code.google.com/p/v8/source/detail?r=23940) it introduces
Isolate::CreateParams and mentions that V8::SetJitCodeEventHandler should either
be passed to Isolate::New as well, or invoked via the Isolate.
When Chrome as embedder of V8, we will set the Jit Code event handler for Vtune
support during the initialization of renderer process and V8 has be initialized
at that time. It's better that we invoke V8::SetJitCodeEventHander via the Isolate.
So we change the vTune::InitializeVtuneForV8(v8::Isolate::CreateParams& params) to
vTune::InitializeVtuneForV8(v8::Isolate* isolate).
we will do corresponding changes in chromium code if this patch is landed and Chromium
updates V8 to the
new release branch.
some part of this patch is provided by denis.pravdin@intel.com.
BUG=
R=danno@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/
655183002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24811
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Wed, 22 Oct 2014 14:58:25 +0000 (14:58 +0000)]
Stage harmony-strings.
R=rossberg@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
666353002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24810
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Wed, 22 Oct 2014 14:39:41 +0000 (14:39 +0000)]
Cleanups to Verifier.
This CL broadens the checks done by the verifier in untyped mode and introduces some subroutines to shorten the code a bit.
Introduce routines CheckUpperIs() CheckUpperMaybe() and CheckValueInputIs() that are called unconditionally by the verifier. If the typing mode is untyped, then don't check anything.
Also added a couple checks for Merge and Loop nodes that catch bugs where the operator and the node disagree on input counts (a bug encountered today).
R=mstarzinger@chromium.org, rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
669073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24809
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Wed, 22 Oct 2014 14:06:15 +0000 (14:06 +0000)]
Remove [[PROTOTYPE]] from ObjectToStringHarmony
harmony-tostring needs to emulate InstallFunctions --- InstallFunctions will fail
in Debug builds because the `toString` property already exists in Object.prototype.
The fix is to add some of the other features from InstallFunctions() to the
setup of ObjectToStringHarmony.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
667263004
Patch from Caitlin Potter <caitpotter88@gmail.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24808
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Wed, 22 Oct 2014 13:13:19 +0000 (13:13 +0000)]
Array.prototype.{reduce, reduceRight}: Wrong order of operations when determining initial value.
BUG=v8:3534
LOG=
R=svenpanne@chromium.org, wingo@igalia.com
Review URL: https://codereview.chromium.org/
614733002
Patch from Diego Pino <dpino@igalia.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24807
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 22 Oct 2014 13:04:08 +0000 (13:04 +0000)]
Move js perf tests to a common root on the perf dashboard.
BUG=
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
667373004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24806
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 22 Oct 2014 12:54:35 +0000 (12:54 +0000)]
Add an --msan flag to run-tests.py.
Currently a no-op and added only for consistency with ASan/TSan.
BUG=chromium:425187
R=machenbach@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
667903004
Patch from Sergey Matveev <earthdok@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24805
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 22 Oct 2014 11:32:39 +0000 (11:32 +0000)]
Whitespace change to test new git workflow.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
638883006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24804
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00