weiliang.lin@intel.com [Tue, 21 Oct 2014 08:28:00 +0000 (08:28 +0000)]
X87: vector-based ICs did not update type feedback counts correctly.
port r24732.
original commit message:
vector-based ICs did not update type feedback counts correctly.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
669823002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24756
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 21 Oct 2014 08:25:14 +0000 (08:25 +0000)]
Remove v8stdint.h, it doesn't serve a purpose anymore.
Basically a follow-up to https://codereview.chromium.org/
667573005/.
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
670673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24755
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 21 Oct 2014 07:12:18 +0000 (07:12 +0000)]
fix ia32 after r24753
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
668883002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24754
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 21 Oct 2014 06:59:50 +0000 (06:59 +0000)]
[turbofan] cleanup InstructionSequence
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
664123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24753
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 21 Oct 2014 06:40:15 +0000 (06:40 +0000)]
d8: create compile cache in a separate isolate.
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
670433003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24752
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 21 Oct 2014 04:55:49 +0000 (04:55 +0000)]
Visual Studio provides stdint.h these days.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
667573005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24751
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 20 Oct 2014 17:59:59 +0000 (17:59 +0000)]
MIPS64: vector-based ICs did not update type feedback counts correctly.
Port r24732 (83e975b)
BUG=v8:3605
LOG=N
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
670543002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24746
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 20 Oct 2014 17:32:06 +0000 (17:32 +0000)]
Fix gc mole test failure.
TBR=ulan@chromium.org
Review URL: https://codereview.chromium.org/
651683003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 20 Oct 2014 15:07:27 +0000 (15:07 +0000)]
Remove deprecated Ascii-related identifiers from include/v8.h
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
665883002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Mon, 20 Oct 2014 13:33:34 +0000 (13:33 +0000)]
Simplify language feature management.
R=rossberg@chromium.org
BUG=v8:3640
LOG=N
Review URL: https://codereview.chromium.org/
642233003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24743
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 12:37:48 +0000 (12:37 +0000)]
Drop obsolete misc-intrinsics.h file.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
648643003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24742
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 20 Oct 2014 12:32:23 +0000 (12:32 +0000)]
Remove dead GeneralizeFieldRepresentation
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
668663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24741
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Mon, 20 Oct 2014 12:17:12 +0000 (12:17 +0000)]
Upgrade test262-es6
R=dslomov@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
639373005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24740
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 20 Oct 2014 12:14:26 +0000 (12:14 +0000)]
Remove fuzz-natives tests.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
663043003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24739
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Mon, 20 Oct 2014 12:12:51 +0000 (12:12 +0000)]
Annotate PromotionQueue::RelocateQueueHead for MemorySanitizer.
BUG=chromium:416875
LOG=N
R=earthdok@chromium.org, jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
603633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Mon, 20 Oct 2014 12:12:09 +0000 (12:12 +0000)]
Read object pointer atomically while updating slots
BUG=425003
R=ulan@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
663023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24737
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 20 Oct 2014 12:07:45 +0000 (12:07 +0000)]
Move some Runtime:: functions and remove runtime.h as include when unnecessary.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
662413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 12:04:22 +0000 (12:04 +0000)]
Remove (untested) code for unsupported compilers.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
656143004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 20 Oct 2014 11:53:21 +0000 (11:53 +0000)]
Whitespace change to test new git workflow.
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
669673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24733
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 20 Oct 2014 11:42:56 +0000 (11:42 +0000)]
vector-based ICs did not update type feedback counts correctly.
BUG=v8:3605
LOG=N
R=jkummerow@chromium.org, ulan@chromium.org
Review URL: https://codereview.chromium.org/
650073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24732
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mikhail.naganov@gmail.com [Mon, 20 Oct 2014 11:37:06 +0000 (11:37 +0000)]
Add README.md file
Add basic info. This file is automatically displayed on GitHub, and is
kind of de-facto standard for project documentation.
BUG=chromium:415466
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
657423002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24731
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 11:27:39 +0000 (11:27 +0000)]
platform: fix build on SmartOS
With -std=g++0x, `signbit` is no longer a define, and is an actual
function declared in C++-specific headers. Thus checking it's presence
with ifdef will no longer work.
Considering that g++0x implies newer compiler, there should not be the
case where it won't be present anymore.
BUG=
R=bmeurer@chromium.org, danno
Review URL: https://codereview.chromium.org/
642203003
Patch from Fedor Indutny <fedor.indutny@gmail.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24730
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 11:26:23 +0000 (11:26 +0000)]
[turbofan] Move node matchers to separate file.
TEST=unittests
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
639293006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24729
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 20 Oct 2014 11:18:07 +0000 (11:18 +0000)]
[turbofan] pass zone to InstructionSequence
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
663073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24728
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 20 Oct 2014 10:57:37 +0000 (10:57 +0000)]
[turbofan] fix build after r24726
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
669643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 20 Oct 2014 10:19:15 +0000 (10:19 +0000)]
[turbofan] remove schedule from InstructionSequence
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
669613002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Mon, 20 Oct 2014 09:23:43 +0000 (09:23 +0000)]
Script streaming: more UTF-8 handing fixes (again).
1) Since we fill the output buffer both from the chunks and the conversion
buffer, it's possible that we run out of space and call CopyCharsHelper with 0
length. The underlying functions don't handle it gracefully, so check there.
2) There was a bug where we used to try to copy too many characters from the
beginning of the data chunk into the conversion buffer. Continuation bytes in
UTF-8 are of the form 0b10XXXXXX. If a byte is bigger than that, it's the first
byte of a new UTF-8 character and we should ignore it.
These two together (or maybe in combination with surrogates) are a probable
reason for crbug.com/420932.
3) The test data was off; \uc481 is \xec\x92\x81.
BUG=420932
LOG=N
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
662003003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24725
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 09:01:14 +0000 (09:01 +0000)]
[arm64] Skip TF tests that time out in simulator debug runs.
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
642293005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24724
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 20 Oct 2014 08:46:11 +0000 (08:46 +0000)]
Special handling for inline caches in code serializer.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
656533003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24722
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Mon, 20 Oct 2014 08:40:46 +0000 (08:40 +0000)]
Avoid the Marsaglia effect in 3D
For a longer discussion, see the associated Chromium issue.
BUG=chromium:423311
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
662513004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24721
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Mon, 20 Oct 2014 08:16:26 +0000 (08:16 +0000)]
Fix Win64 size_t/int conversion after
b3f2277ea42a.
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
646983005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24720
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Mon, 20 Oct 2014 07:56:50 +0000 (07:56 +0000)]
Add inlining for intrinsics.
This issue is for discussion on how to proceed.
I think the implementation of ValueOf shows that directly creating the IR does not scale.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
612043003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 20 Oct 2014 07:43:56 +0000 (07:43 +0000)]
some static casts for windows to fix r24717
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
660843003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 20 Oct 2014 07:32:01 +0000 (07:32 +0000)]
[turbofan] decouple register allocation from schedule and graph
R=bmeurer@chromium.org, jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
664683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24717
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 06:25:41 +0000 (06:25 +0000)]
[turbofan] Skip bounds checks for positive indices only.
TEST=unittests,mjsunit/asm/int32array-constant-key
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
647773004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24716
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 04:16:06 +0000 (04:16 +0000)]
Revert "Enable libstdc++ debug mode in debug builds.".
This reverts commit r24676 to see if it was the cause for the mysterious
crashes on some bots. If not, we'll reland it.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
663013002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24715
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 20 Oct 2014 04:12:53 +0000 (04:12 +0000)]
X87: ReceiverCheckMode needs to be utilized further.
port r24704.
original commit message:
ReceiverCheckMode needs to be utilized further.
The parameter wasn't being passed appropriately, and there was an extra
opportunity to use mode RECEIVER_IS_STRING in SubStringStub.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
664973002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24714
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 20 Oct 2014 04:06:06 +0000 (04:06 +0000)]
X87: Tick processor: Print C++ entry points.
port r24700.
original commit message:
Tick processor: Print C++ entry points
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
662323002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24713
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 20 Oct 2014 03:52:10 +0000 (03:52 +0000)]
Add turbo.cfg to .gitignore.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
664003003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24712
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 20 Oct 2014 02:00:50 +0000 (02:00 +0000)]
X87: Implement the new semantics for 'super(...)'
original commit message:
Implement the new semantics for 'super(...)'
Per the latest ES6 draft, super(...) translates into a call
to function's prototype.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
642603006
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24711
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Mon, 20 Oct 2014 01:58:46 +0000 (01:58 +0000)]
X87: Make disassembler string tables read-only.
port r24672.
original commit message:
Move them from .data to .rodata.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
654263006
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24710
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Fri, 17 Oct 2014 20:27:24 +0000 (20:27 +0000)]
Fix webkit getOwnPropertyNames test after r24706 removed Array.prototype.values
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/
664613004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24708
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Fri, 17 Oct 2014 20:17:01 +0000 (20:17 +0000)]
MIPS64: ReceiverCheckMode needs to be utilized further.
Port r24704 (
f43a27ee)
Original commit message:
The parameter wasn't being passed appropriately, and there was an extra
opportunity to use mode RECEIVER_IS_STRING in SubStringStub.
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
645823003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24707
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Fri, 17 Oct 2014 20:11:47 +0000 (20:11 +0000)]
Don't expose Array.prototype.values as it breaks webcompat
Some versions of Outlook Web Access test for the existence of a 'values'
property on Array instances, so adding the 'values' iterator to the prototype
(even with @@unscopeables) causes breakage.
This matches Gecko: they ship Array.prototype.{keys,entries} but not 'values'.
BUG=409858
LOG=Y
R=arv@chromium.org, danno@chromium.org
Review URL: https://codereview.chromium.org/
647703003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24706
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 16:33:38 +0000 (16:33 +0000)]
Correct semantics for numerically indexed stores to typed arrays.
R=verwaest@chromium.org, ishell@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=24691
Review URL: https://codereview.chromium.org/
652303002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24705
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Fri, 17 Oct 2014 16:23:31 +0000 (16:23 +0000)]
ReceiverCheckMode needs to be utilized further.
The parameter wasn't being passed appropriately, and there was an extra
opportunity to use mode RECEIVER_IS_STRING in SubStringStub.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
657313005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24704
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 17 Oct 2014 15:50:05 +0000 (15:50 +0000)]
Fix compilation with GCC-4.8 after r24685
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
661123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24701
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Fri, 17 Oct 2014 15:44:02 +0000 (15:44 +0000)]
Tick processor: Print C++ entry points
R=loislo@chromium.org, yangguo@chromium.org, yurys@chromium.org
Review URL: https://codereview.chromium.org/
638633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24700
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 17 Oct 2014 14:46:05 +0000 (14:46 +0000)]
Fix compile issue.
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
659313003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24699
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 17 Oct 2014 14:28:00 +0000 (14:28 +0000)]
skip some gc stress tests for tf
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
659333002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24698
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 17 Oct 2014 14:11:01 +0000 (14:11 +0000)]
Fix break location calculation.
R=ulan@chromium.org
BUG=chromium:419663
LOG=Y
Review URL: https://codereview.chromium.org/
658723005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24697
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 13:19:45 +0000 (13:19 +0000)]
Keyed stores to super with numeric keys.
R=verwaest@chromium.org, arv@chromium.org, ishell@chromium.org
BUG=v8:3330
LOG=N
Review URL: https://codereview.chromium.org/
649603003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24696
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 13:01:54 +0000 (13:01 +0000)]
Revert "Correct semantics for numerically indexed stores to typed arrays."
This reverts commit r24691 because win64 release build breaks.
TBR=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
659313002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24695
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 17 Oct 2014 11:51:57 +0000 (11:51 +0000)]
Implement graph trimming in ControlReducer.
Trimming the graph consists of breaking links from nodes that are not reachable from end to nodes that are reachable from end. Such dead nodes show up in the use lists of the live nodes and though mostly harmless, just clutter up the graph. They also can limit instruction selection opportunities, so it is good to get rid of them.
This CL is one half of the ControlReducer functionality, the other half
being branch folding.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
661923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24694
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Fri, 17 Oct 2014 11:46:06 +0000 (11:46 +0000)]
Test monotonicity of expression typings.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
653093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24693
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 11:40:40 +0000 (11:40 +0000)]
Correct semantics for numerically indexed stores to typed arrays.
R=verwaest@chromium.org, ishell@chromium.org
Review URL: https://codereview.chromium.org/
652303002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24691
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Fri, 17 Oct 2014 11:30:13 +0000 (11:30 +0000)]
MIPS: Implement the new semantics for 'super(...)'.
Port r24683 (b1533f6)
Original commit message:
Per the latest ES6 draft, super(...) translates into a call
to function's prototype.
BUG=v8:3330
LOG=N
R=dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
661043003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24690
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 17 Oct 2014 11:26:26 +0000 (11:26 +0000)]
Fix InstructionSelector to handle calls with no (used) output values.
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
664693002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24689
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 17 Oct 2014 10:22:47 +0000 (10:22 +0000)]
test-serialize/Bug3628 is expected to fail, not crash.
TBR=jochen@chromium.org
BUG=v8:3628
LOG=N
Review URL: https://codereview.chromium.org/
663483003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24688
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 17 Oct 2014 10:01:38 +0000 (10:01 +0000)]
Improve String.repeat.
Adapted from patch contributed by Isiah Meadows <impinball@gmail.com>.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
657863002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24687
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 17 Oct 2014 09:54:48 +0000 (09:54 +0000)]
Prohibit serializing with --harmony-scoping.
R=jochen@chromium.org
BUG=v8:3628
LOG=N
Review URL: https://codereview.chromium.org/
650423005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24686
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 09:35:45 +0000 (09:35 +0000)]
[turbofan] Eliminate typed array bounds checks if both key and length are constant.
TEST=mjsunit,unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
638853004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24685
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 09:26:55 +0000 (09:26 +0000)]
Initial set of perf tests for classes.
R=arv@chromium.org, machenbach@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
645933003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24684
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 09:16:03 +0000 (09:16 +0000)]
Implement the new semantics for 'super(...)'
Per the latest ES6 draft, super(...) translates into a call
to function's prototype.
R=arv@chromium.org, ishell@chromium.org, verwaest@chromium.org
BUG=v8:3330
LOG=N
Review URL: https://codereview.chromium.org/
661433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24683
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 09:11:21 +0000 (09:11 +0000)]
Share test framework between js-perf-tests.
Also small reformat in Iterators/forof.js
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
662723006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24682
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 09:04:58 +0000 (09:04 +0000)]
Share code between Factory::NewJSTypedArray and API
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
641343005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24681
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 07:35:38 +0000 (07:35 +0000)]
[x64] add missing disassm of pcmpeqd
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
658063003
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24680
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 07:12:30 +0000 (07:12 +0000)]
Fix Mac build after r24676.
BUG=v8:3638
LOG=n
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
659253002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24679
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 07:07:54 +0000 (07:07 +0000)]
[arm] Prefer BIC over BFC.
BFC requires same register for input and output and causes introduction
of some unneccesary gap moves.
TEST=unittests,mjsunit
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
658283003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24678
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 06:59:02 +0000 (06:59 +0000)]
Blacklist tests that are too slow with TurboFan in debug mode.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
660653008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24677
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 06:58:20 +0000 (06:58 +0000)]
Enable libstdc++ debug mode in debug builds.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html for
details about the debug mode.
BUG=v8:3638
LOG=y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
648293007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24676
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Fri, 17 Oct 2014 06:58:08 +0000 (06:58 +0000)]
Performance tests for iterators.
R=wingo@igalia.com
Review URL: https://codereview.chromium.org/
641123003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24675
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Fri, 17 Oct 2014 05:23:14 +0000 (05:23 +0000)]
X87: Eliminate special keyed load string stub in favor of uniform handlers
port r24661.
original commit message:
Eliminate special keyed load string stub in favor of uniform handlers.
KeyedLoadIC installs a special case if the receiver is a string.
Although there are several maps for strings, in practice we seem to
be able to treat them individually because a given KeyedLoad site
only sees 1-2 string types
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
643783005
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24674
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 04:18:38 +0000 (04:18 +0000)]
[x64] simply tweak materialization of float/double constants
port 24485
Fixed a bug of "psllq" instruction in x64
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
658813003
Patch from Weiliang Lin <weiliang.lin@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24673
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 17 Oct 2014 04:03:15 +0000 (04:03 +0000)]
Move them from .data to .rodata.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
659663005
Patch from Ben Noordhuis <ben@strongloop.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24672
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
haraken@chromium.org [Fri, 17 Oct 2014 00:46:18 +0000 (00:46 +0000)]
Pass an Isolate to v8::VisitHandlesWithClassIds
The Isolate version of v8::VisitHandlesWithClassIds is needed
for https://codereview.chromium.org/
651713002/
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
664473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24671
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dslomov@chromium.org [Thu, 16 Oct 2014 19:38:32 +0000 (19:38 +0000)]
Harden CopyJSObject.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
489833004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24670
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Thu, 16 Oct 2014 17:24:15 +0000 (17:24 +0000)]
MIPS: Fix clang compilation error.
Port r24662 (4722032)
BUG=
R=dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
657413003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24669
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Thu, 16 Oct 2014 16:39:51 +0000 (16:39 +0000)]
MIPS: Eliminate special keyed load string stub in favor of uniform handlers.
Port r24661 (5499efb)
Original commit message:
KeyedLoadIC installs a special case if the receiver is a string.
Although there are several maps for strings, in practice we seem to
be able to treat them individually because a given KeyedLoad site
only sees 1-2 string types.
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
657413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24668
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Thu, 16 Oct 2014 16:25:27 +0000 (16:25 +0000)]
MIPS: Fix code for InstanceofStub.
Port r24654 (66aa0fb)
BUG=
R=dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
661803002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24667
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 16 Oct 2014 13:45:59 +0000 (13:45 +0000)]
Fix new git workflow in release scripts.
Need to svn fetch in order to make svn find-rev work.
BUG=chromium:410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
662643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24666
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 16 Oct 2014 13:26:28 +0000 (13:26 +0000)]
Fix ASAN warning.
Missing line in a test to dispose of a string.
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
643873004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24665
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 16 Oct 2014 13:21:13 +0000 (13:21 +0000)]
Add v8 git hashes to releases script.
Also change the tests to use git mode.
BUG=chromium:410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
658033005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24664
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 16 Oct 2014 13:19:36 +0000 (13:19 +0000)]
Track usage of "this" and "arguments" in Scope
This adds flags in Scope to track wheter a Scope uses "this" and,
"arguments". The information is exposed via Scope::uses_this(),
and Scope::uses_arguments(), respectively. Flags for tracking
usage on any inner scope uses are available as well via
Scope::inner_uses_this(), and Scope::inner_uses_arguments().
Knowing whether scopes use "this" and "arguments" will be handy
to generate the code needed to capture their values when generating
the code for arrow functions.
BUG=v8:2700
LOG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
422923004
Patch from Adrian Perez de Castro <aperez@igalia.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24663
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 16 Oct 2014 12:27:35 +0000 (12:27 +0000)]
Fix clang compilation error.
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
659053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24662
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 16 Oct 2014 11:42:47 +0000 (11:42 +0000)]
Eliminate special keyed load string stub in favor of uniform handlers.
KeyedLoadIC installs a special case if the receiver is a string.
Although there are several maps for strings, in practice we seem to
be able to treat them individually because a given KeyedLoad site
only sees 1-2 string types.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
602773003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24661
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 16 Oct 2014 11:31:00 +0000 (11:31 +0000)]
[turbofan] Correctify typed lowering.
We cannot add new JSToNumber nodes here in general, because:
a) The inserted ToNumber operation screws up observability of valueOf.
b) Deoptimization at ToNumber doesn't have corresponding bailout id.
TEST=cctest,mjsunit
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
649543004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24660
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 16 Oct 2014 11:29:31 +0000 (11:29 +0000)]
Fix x64 after r24656.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
655383003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24659
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 16 Oct 2014 11:24:45 +0000 (11:24 +0000)]
Object.is should use SameValue
BUG=v8:3576
LOG=
R=arv@chromium.org, svenpanne@chromium.org, wingo@igalia.com
Review URL: https://codereview.chromium.org/
626323002
Patch from Diego Pino <dpino@igalia.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24658
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 16 Oct 2014 10:55:26 +0000 (10:55 +0000)]
Implement .forEach() on typed arrays
BUG=v8:3578
LOG=Y
R=dslomov@chromium.org, wingo@igalia.com
Review URL: https://codereview.chromium.org/
583723002
Patch from Adrian Perez de Castro <aperez@igalia.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24657
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 16 Oct 2014 10:50:21 +0000 (10:50 +0000)]
[turbofan] Run value numbering after SimplifiedLowering.
Running ValueNumberingReducer together with ChangeLowering causes
trouble with the current GraphReducer and makes GVN ineffective, so
running it before we get to change lowering works around that well-known
(phase ordering) problem for now.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
660733003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24656
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Thu, 16 Oct 2014 10:42:08 +0000 (10:42 +0000)]
Introduce v8::Exception::GetStackTrace API method.
This will be needed to get a stack trace from a DOMException.
API=v8::Exception::GetStackTrace
R=yangguo@chromium.org
LOG=Y
Review URL: https://codereview.chromium.org/
655243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24655
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
m.m.capewell@googlemail.com [Thu, 16 Oct 2014 10:38:58 +0000 (10:38 +0000)]
[arm][arm64] fix code for InstanceofStub
R=ulan@chromium.org, bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
657813002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24654
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 16 Oct 2014 10:03:14 +0000 (10:03 +0000)]
Whitespace change to test the new poller.
TBR=agable@chromium.org
Review URL: https://codereview.chromium.org/
657113003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24653
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 16 Oct 2014 08:39:20 +0000 (08:39 +0000)]
Whitespace change to test the new poller.
TBR=agable@chromium.org
Review URL: https://codereview.chromium.org/
664483002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24652
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 16 Oct 2014 08:19:45 +0000 (08:19 +0000)]
Whitespace change to test the new poller.
TBR=agable@chromium.org
Review URL: https://codereview.chromium.org/
654393003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24651
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 16 Oct 2014 06:59:39 +0000 (06:59 +0000)]
[turbofan] Fix GraphC1Visualizer::PrintType().
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
657993003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24650
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 16 Oct 2014 06:24:47 +0000 (06:24 +0000)]
X87: Implement inline %_IsJSProxy() for full codegen and Hydrogen.
port r24636.
original commit message:
Implement inline %_IsJSProxy() for full codegen and Hydrogen
Saving a runtime call for many builtin functions.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
657273002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24649
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Wed, 15 Oct 2014 23:53:02 +0000 (23:53 +0000)]
Revert "Remove SmartMove, bringing Array methods further into spec compliance"
This reverts https://code.google.com/p/v8/source/detail?r=24647
It caused test failures in Array methods in Linux64 OptimizeForSize.
BUG=v8:2615
TBR=verwaest@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
656683003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24648
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Wed, 15 Oct 2014 23:36:58 +0000 (23:36 +0000)]
Remove SmartMove, bringing Array methods further into spec compliance
This is one step towards a single codepath for each method in array.js.
This patch is based on rafaelw's https://codereview.chromium.org/
349073002
BUG=v8:2615
LOG=Y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
455933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24647
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00