titzer@chromium.org [Wed, 5 Nov 2014 09:02:51 +0000 (09:02 +0000)]
x32: disable turbofan for x32 port
BUG=
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
697353003
Patch from Weilang Lin <weiliang.lin@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25133}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25133
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 5 Nov 2014 08:52:38 +0000 (08:52 +0000)]
Fix enum in debug.h
TBR=ishell@chromium.org
Review URL: https://codereview.chromium.org/
700103002
Cr-Commit-Position: refs/heads/master@{#25131}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25131
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 5 Nov 2014 08:44:30 +0000 (08:44 +0000)]
Introduce new stepping mode to step into another frame.
R=aandrey@chromium.org
BUG=chromium:267592
LOG=Y
Review URL: https://codereview.chromium.org/
690263004
Cr-Commit-Position: refs/heads/master@{#25130}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25130
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jochen@chromium.org [Wed, 5 Nov 2014 08:30:59 +0000 (08:30 +0000)]
Don't crash if the tm_zone field returned by localtime is NULL
BUG=chromium:158355
R=svenpanne@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/
662093003
Cr-Commit-Position: refs/heads/master@{#25129}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25129
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 5 Nov 2014 08:15:09 +0000 (08:15 +0000)]
[turbofan] Fix missing machine type for float32/float64 array accesses.
TEST=mjsunit/asm
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
703883002
Cr-Commit-Position: refs/heads/master@{#25128}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25128
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Wed, 5 Nov 2014 07:30:07 +0000 (07:30 +0000)]
Truncate strings synchronized.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
702743002
Cr-Commit-Position: refs/heads/master@{#25127}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25127
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Wed, 5 Nov 2014 07:23:28 +0000 (07:23 +0000)]
Allow uncaught exception messaging in Object.observe callbacks.
This also naturally handles pausing on uncaught exceptions in Object.observe callbacks.
R=adamk@chromium.org, yangguo@chromium.org, yurys@chromium.org
BUG=chromium:335660
LOG=Y
Review URL: https://codereview.chromium.org/
692313003
Cr-Commit-Position: refs/heads/master@{#25126}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25126
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 5 Nov 2014 06:20:36 +0000 (06:20 +0000)]
Set the FPU precision control to double-precision.
The default double precision control of FPU is extended double-precision.
While the number definition for JavaScript is double-precision. We use
the FPU control word to set the doulbe precision and replace the original
solution which store the data to memory and load it again.
This patch also fixes the error that Sunspider 1.0.2 can not run with V8 if
sse2 support is disabled.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
700053003
Patch from Chunyang Dai <chunyang.dai@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25125}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25125
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Wed, 5 Nov 2014 06:09:58 +0000 (06:09 +0000)]
X87: [turbofan] Add AllocateHeapNumberStub to avoid runtime call.
port
ee95552f291d3c1fff78bc4f8d8621e84976e5c9 (r25107)
original commit message:
[turbofan] Add AllocateHeapNumberStub to avoid runtime call.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
701033002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25124}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25124
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 5 Nov 2014 05:57:56 +0000 (05:57 +0000)]
[x64] 64-bit shift left by 32 or more covers sign/zero extend.
TEST=unittests
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
704703002
Cr-Commit-Position: refs/heads/master@{#25123}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25123
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Tue, 4 Nov 2014 21:37:26 +0000 (21:37 +0000)]
Revert "Parser & internalizing: efficiency fixes."
This reverts commit
94a08565d79a13056b9d964428798dac564905bc for
breaking layout tests.
TBR=marja@chromium.org
Review URL: https://codereview.chromium.org/
692333006
Cr-Commit-Position: refs/heads/master@{#25121}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25121
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dusan.milosavljevic@imgtec.com [Tue, 4 Nov 2014 19:47:51 +0000 (19:47 +0000)]
MIPS: Improve compare and branch combining.
TEST=
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
700873002
Cr-Commit-Position: refs/heads/master@{#25120}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25120
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 4 Nov 2014 18:36:00 +0000 (18:36 +0000)]
Adjust test262-es6 following --harmony flag change
TBR=adamk@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
702753002
Cr-Commit-Position: refs/heads/master@{#25119}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25119
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Tue, 4 Nov 2014 17:19:52 +0000 (17:19 +0000)]
MIPS: [turbofan] Add AllocateHeapNumberStub to avoid runtime call.
Port
983ca3f1e7bd8cbba45684d5c1642cd495ca9bc1
Port r25107
TEST=unittests
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
699903002
Cr-Commit-Position: refs/heads/master@{#25118}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25118
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 4 Nov 2014 16:15:44 +0000 (16:15 +0000)]
Fix branch hint in select.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
703633003
Cr-Commit-Position: refs/heads/master@{#25117}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25117
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 4 Nov 2014 16:13:49 +0000 (16:13 +0000)]
`1..isPrototypeOf.call(null)` should return false, not throw TypeError.
BUG=v8:3483
LOG=Y
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
433413002
Cr-Commit-Position: refs/heads/master@{#25116}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25116
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 4 Nov 2014 16:05:27 +0000 (16:05 +0000)]
Remove --harmony implications for incomplete features
This is in preparation for making --harmony and --es-staging synonyms.
The only remaining difference currently is block-scoping, which is still
implied by --harmony, to avoid regressing on a long-available feature.
Also removes the special-casing of --harmony-proxies.
R=adamk@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
693153004
Cr-Commit-Position: refs/heads/master@{#25115}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25115
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 4 Nov 2014 15:54:14 +0000 (15:54 +0000)]
Reduce size of array in polymorph-arrays.js.
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
686273003
Cr-Commit-Position: refs/heads/master@{#25114}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25114
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 4 Nov 2014 15:20:09 +0000 (15:20 +0000)]
Fix predictable mode when job based sweeping is off.
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
697423002
Cr-Commit-Position: refs/heads/master@{#25113}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25113
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
arv@chromium.org [Tue, 4 Nov 2014 15:08:24 +0000 (15:08 +0000)]
Refactor ObjectGetOwnPropertyKeys to accept bitmask rather than boolean
BUG=v8:3549
LOG=Y
R=arv@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
557023002
Patch from Caitlin Potter <caitpotter88@gmail.com>.
Cr-Commit-Position: refs/heads/master@{#25111}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25111
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Tue, 4 Nov 2014 14:37:22 +0000 (14:37 +0000)]
Introduce Diamond, a helper for building diamond-shaped control patterns.
R=mstarzinger@chromium.org, bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
694063005
Cr-Commit-Position: refs/heads/master@{#25110}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25110
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Tue, 4 Nov 2014 14:15:57 +0000 (14:15 +0000)]
Parser & internalizing: efficiency fixes.
1) In ParseLazy, we're already using the heap, so we can also tell
AstValueFactory to internalize immediately. This is more efficient.
2) No need to collect the values in values_ and strings_ if they're already
internalized.
3) No need to collect AstValues which are strings in values_ since they don't
need to be internalized (the underlying strings will be internalized
separately).
BUG=429168
LOG=N
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
693803004
Cr-Commit-Position: refs/heads/master@{#25109}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25109
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 4 Nov 2014 12:58:17 +0000 (12:58 +0000)]
[turbofan] Add AllocateHeapNumberStub to avoid runtime call.
TEST=unittests
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
703473004
Cr-Commit-Position: refs/heads/master@{#25107}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25107
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 4 Nov 2014 12:06:23 +0000 (12:06 +0000)]
[turbofan] Fix branch hints for ChangeInt32ToTagged and ChangeTaggedToUI32.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
694353006
Cr-Commit-Position: refs/heads/master@{#25106}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25106
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Tue, 4 Nov 2014 11:58:09 +0000 (11:58 +0000)]
Disable long running gc-stress tests on arm64 for TF.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
701723004
Cr-Commit-Position: refs/heads/master@{#25105}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25105
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 4 Nov 2014 11:40:21 +0000 (11:40 +0000)]
Revert "Optimize function across closures."
This reverts r25102.
TBR=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
699143002
Cr-Commit-Position: refs/heads/master@{#25104}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25104
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 4 Nov 2014 11:37:31 +0000 (11:37 +0000)]
[turbofan] Fix recognition of Uint32Div in simplified lowering.
TEST=mjsunit/asm
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
701813003
Cr-Commit-Position: refs/heads/master@{#25103}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25103
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Tue, 4 Nov 2014 11:06:17 +0000 (11:06 +0000)]
Optimize function across closures.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
699633002
Cr-Commit-Position: refs/heads/master@{#25102}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25102
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Tue, 4 Nov 2014 10:06:44 +0000 (10:06 +0000)]
Follow up to fix v8::Exception::GetMessage() actually do what it was intended to.
The main thing for v8::Exception::GetMessage() is to extract message location from
error stack trace, even when stack trace capturing is off (when DevTools is closed).
BUG=chromium:427954
R=yangguo@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
696703002
Cr-Commit-Position: refs/heads/master@{#25101}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25101
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Tue, 4 Nov 2014 10:02:25 +0000 (10:02 +0000)]
Add debug mirror support for ES6 Map/Set iterators.
This is to show values preview of an iterator in DevTools console.
API=v8::Value::IsMapIterator, v8::Value::IsSetIterator
BUG=chromium:427868
R=arv@chromium.org, yangguo@chromium.org, adamk@chromium.org
LOG=Y
Review URL: https://codereview.chromium.org/
693813002
Cr-Commit-Position: refs/heads/master@{#25100}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25100
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Tue, 4 Nov 2014 09:29:31 +0000 (09:29 +0000)]
TransitionArray::Search() now returns insertion index if the entry was not found.
This is a prerequisite for https://codereview.chromium.org/
661133002/.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
698043003
Cr-Commit-Position: refs/heads/master@{#25099}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25099
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 4 Nov 2014 09:22:42 +0000 (09:22 +0000)]
Actually also advance the iterator in StorePropertyWithInterceptor
BUG=v8:3636
LOG=n
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
702523002
Cr-Commit-Position: refs/heads/master@{#25098}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25098
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Tue, 4 Nov 2014 09:21:12 +0000 (09:21 +0000)]
[turbofan] add RegisterConfiguration to decouple arch specific register layouts from compiler
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
694313002
Cr-Commit-Position: refs/heads/master@{#25097}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25097
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 4 Nov 2014 08:56:40 +0000 (08:56 +0000)]
Whitespace CL to trigger bots.
Cr-Commit-Position: refs/heads/master@{#25096}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25096
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 4 Nov 2014 08:27:49 +0000 (08:27 +0000)]
Adds dependency on sanitizer
The santizer target is empty if no sanitizers are defined, otherwise
it contains the necessary targets. Because of this we can always
depend on it. Without this dep asan builds fail.
R=brettw@chromium.org, danno@chromium.org
Review URL: https://codereview.chromium.org/
697763002
Patch from Scott Violet <sky@chromium.org>.
Cr-Commit-Position: refs/heads/master@{#25094}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25094
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 4 Nov 2014 07:35:59 +0000 (07:35 +0000)]
[turbofan] Also print the non-value inputs in schedule.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
702643002
Cr-Commit-Position: refs/heads/master@{#25092}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25092
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 4 Nov 2014 07:35:29 +0000 (07:35 +0000)]
[turbofan] Strip useless sign-extension for store8/store16.
TEST=unittests
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
698963002
Cr-Commit-Position: refs/heads/master@{#25091}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25091
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
arv@chromium.org [Mon, 3 Nov 2014 21:46:35 +0000 (21:46 +0000)]
Remove FAIL from test262-es6.status
TBR=rossberg
BUG=v8:3642
LOG=Y
Review URL: https://codereview.chromium.org/
698073003
Cr-Commit-Position: refs/heads/master@{#25088}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25088
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
arv@chromium.org [Mon, 3 Nov 2014 19:53:36 +0000 (19:53 +0000)]
Classes: static should still be treated as a strict reserved word
When --harmony-classes is enabled we did not treat static as a
strict reserved word.
BUG=v8:3642
LOG=Y
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
652743009
Cr-Commit-Position: refs/heads/master@{#25087}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25087
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Mon, 3 Nov 2014 19:44:46 +0000 (19:44 +0000)]
Fix a few nits found by PVS Studio
BUG=v8:3192
LOG=n
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/
185563004
Cr-Commit-Position: refs/heads/master@{#25086}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25086
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 3 Nov 2014 17:52:51 +0000 (17:52 +0000)]
Fix build because of dead fields.
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
699673002
Cr-Commit-Position: refs/heads/master@{#25085}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25085
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 3 Nov 2014 17:41:53 +0000 (17:41 +0000)]
Make visualizer robust to graphs with NULL inputs.
R=mstarzinger@chromium.org, jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
652263002
Cr-Commit-Position: refs/heads/master@{#25084}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25084
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
erikcorry@chromium.org [Mon, 3 Nov 2014 17:23:55 +0000 (17:23 +0000)]
Introduce phantom weak handles in the API and use them internally for debug info
R=ulan@chromium.org, jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
687003005
Cr-Commit-Position: refs/heads/master@{#25083}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25083
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ishell@chromium.org [Mon, 3 Nov 2014 16:44:58 +0000 (16:44 +0000)]
Reland "Limit the number of transitions allowed per hidden class."
BUG=chromium:427813
LOG=N
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
676393002
Cr-Commit-Position: refs/heads/master@{#25082}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25082
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Mon, 3 Nov 2014 16:40:54 +0000 (16:40 +0000)]
MIPS: [turbofan] Also optimize unsigned division by constant.
Port r25061 (7fe697f)
TEST=cctest,mjsunit,unittests
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
701543002
Cr-Commit-Position: refs/heads/master@{#25081}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25081
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dusan.milosavljevic@imgtec.com [Mon, 3 Nov 2014 15:48:15 +0000 (15:48 +0000)]
Unbreak build fon non-TF targets.
Mips64 is affected but not for long.
TEST=
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
689113003
Cr-Commit-Position: refs/heads/master@{#25080}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25080
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 3 Nov 2014 15:39:30 +0000 (15:39 +0000)]
Fix auto roll update.
Auto roll requires an additional "git fetch" now that it uses
a workdir. Before, the checkout used to be updated
externally.
BUG=408523
LOG=n
TEST=script_test.py
R=tandrii@chromium.org
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
695323002
Cr-Commit-Position: refs/heads/master@{#25079}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25079
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 15:17:08 +0000 (15:17 +0000)]
[turbofan] Introduce separate SelectLowering reducer.
Split lowering of Select nodes into a separate graph reducer and be more
clever when lowering to diamonds, i.e. reuse diamonds that have the same
condition and only add more phis to it.
TEST=unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
702463002
Cr-Commit-Position: refs/heads/master@{#25078}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25078
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 3 Nov 2014 14:59:19 +0000 (14:59 +0000)]
Fix uninitialized fields in the BinaryOperation ast node.
R=jkummerow@chromium.org, svenpanne@chromium.org
BUG=chromium:429194
LOG=n
Review URL: https://codereview.chromium.org/
701533002
Cr-Commit-Position: refs/heads/master@{#25077}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25077
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Mon, 3 Nov 2014 14:05:57 +0000 (14:05 +0000)]
Don't double-check elements in the prototype chain in array builtins
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
701513002
Cr-Commit-Position: refs/heads/master@{#25076}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25076
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 3 Nov 2014 13:58:39 +0000 (13:58 +0000)]
[turbofan] Fix Typer::Rangify to handle integral bitset types.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
688413003
Cr-Commit-Position: refs/heads/master@{#25074}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25074
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 3 Nov 2014 13:55:09 +0000 (13:55 +0000)]
build fix after 25072
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
688323005
Cr-Commit-Position: refs/heads/master@{#25073}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25073
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 3 Nov 2014 13:41:56 +0000 (13:41 +0000)]
build fix after r25071
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
684523003
Cr-Commit-Position: refs/heads/master@{#25072}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25072
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Mon, 3 Nov 2014 13:26:46 +0000 (13:26 +0000)]
[turbofan] initial framework for unittesting of register allocator
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
683133005
Cr-Commit-Position: refs/heads/master@{#25071}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25071
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 3 Nov 2014 13:17:02 +0000 (13:17 +0000)]
Fix svn commit for deleted files in release scripts.
BUG=408523
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
685623004
Cr-Commit-Position: refs/heads/master@{#25070}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25070
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 12:36:14 +0000 (12:36 +0000)]
Revert "[turbofan] Fix bug in Rangify."
This reverts commit r25067 for breaking Win64.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
697093002
Cr-Commit-Position: refs/heads/master@{#25069}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25069
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 11:50:43 +0000 (11:50 +0000)]
[turbofan] Fix bug in Rangify.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
699603002
Cr-Commit-Position: refs/heads/master@{#25067}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25067
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 11:50:08 +0000 (11:50 +0000)]
[turbofan] Enforce allocation of register for imull/mull.
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
697073002
Cr-Commit-Position: refs/heads/master@{#25066}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25066
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 10:44:23 +0000 (10:44 +0000)]
[turbofan] Positive dividends are heavily favored for Int32Mod.
Mark negative dividend case as deferred, as modulus by power of two with
negative dividend almost never appears in practice.
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
699573002
Cr-Commit-Position: refs/heads/master@{#25065}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25065
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Mon, 3 Nov 2014 10:30:34 +0000 (10:30 +0000)]
Make generic algorithm less generic.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
701473002
Cr-Commit-Position: refs/heads/master@{#25064}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25064
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
baptiste.afsa@arm.com [Mon, 3 Nov 2014 10:28:46 +0000 (10:28 +0000)]
[turbofan] Select tbz/tbnz when possible on ARM64.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
697653002
Cr-Commit-Position: refs/heads/master@{#25063}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25063
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Mon, 3 Nov 2014 10:21:59 +0000 (10:21 +0000)]
Now with more checkings! Skip the CallFunctionStub when the callee function can be statically determined.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
696223002
Cr-Commit-Position: refs/heads/master@{#25062}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25062
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 10:04:37 +0000 (10:04 +0000)]
[turbofan] Also optimize unsigned division by constant.
TEST=cctest,mjsunit,unittests
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
697663003
Cr-Commit-Position: refs/heads/master@{#25061}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25061
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Mon, 3 Nov 2014 09:40:12 +0000 (09:40 +0000)]
Fix constant in Math.tan implementation.
R=jkummerow@chromium.org, rtoy@chromium.org
BUG=chromium:427468
LOG=Y
Review URL: https://codereview.chromium.org/
695263002
Cr-Commit-Position: refs/heads/master@{#25060}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25060
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 3 Nov 2014 09:31:13 +0000 (09:31 +0000)]
Fix workdir feature for release scripts.
BUG=408523
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
700493002
Cr-Commit-Position: refs/heads/master@{#25058}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25058
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Mon, 3 Nov 2014 08:43:20 +0000 (08:43 +0000)]
Fix for bug 429168, PdfJs regression. We pay a very high cost for AllocationResult being a > kPointerSize struct. This can be avoided by using Smis to indicate failure with retry spaces.
BUG=429168
LOG=N
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
699473002
Cr-Commit-Position: refs/heads/master@{#25057}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25057
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 3 Nov 2014 08:41:13 +0000 (08:41 +0000)]
Add workdir feature to release scripts.
BUG=408523
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
701463002
Cr-Commit-Position: refs/heads/master@{#25056}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25056
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Mon, 3 Nov 2014 08:18:26 +0000 (08:18 +0000)]
More retries when tagging in release scripts.
BUG=408523
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
697433003
Cr-Commit-Position: refs/heads/master@{#25055}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25055
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 06:27:34 +0000 (06:27 +0000)]
[x86] Fix register constraints for multiply high and modulus.
R=jarin@chromium.org
TEST=mjsunit/compiler/regress-register-allocator2
Review URL: https://codereview.chromium.org/
697053002
Cr-Commit-Position: refs/heads/master@{#25054}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25054
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Mon, 3 Nov 2014 06:09:51 +0000 (06:09 +0000)]
[turbofan] Do not use the generic graph algorithm for widening in the typer.
This change uses an explicit queue for type-widening instead of the
generic algorithm. The trouble with the generic algorithm was that it
called the visitor on the same phi many times in a row (and thus caused
unnecessary retyping). I also think that the queue-based fixpoint is
more readable.
The CL cuts running time of the nbody-java benchmark from ~19s to ~15s,
the time spent in the typer goes from 4.5s to 1s. This is still a lot
- the root cause appears to be slow handling of union subtyping
(m*n for unions of sizes m and n). I see a re-typing of a
single phi node taking > 100ms. I will work on a fix with Andreas,
hopefully we can come up with some canonical representation
of unions at least for the common cases (union of Smi constants).
I have also changed the initial typer run to always compute a type, even
if we already had a type for the node. This fixes one assert failure
where context specialization updates a node without updating the type,
which confuses the typer when widening (as some types suddenly narrow).
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
689403002
Cr-Commit-Position: refs/heads/master@{#25053}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25053
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Mon, 3 Nov 2014 05:56:55 +0000 (05:56 +0000)]
IA: Double arithmetic binops support memory operand
BUG=
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
662813002
Patch from Weiliang Lin <weiliang.lin@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25052}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25052
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Sun, 2 Nov 2014 13:12:46 +0000 (13:12 +0000)]
Fix push script for autoroll account.
Push tags to the repo not to the remote - which is a cache
checkout on the bots.
Add new files when doing pure svn commits. Otherwise, new
files are silently ignored and not committed.
BUG=408523
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
699493004
Cr-Commit-Position: refs/heads/master@{#25049}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25049
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Sat, 1 Nov 2014 21:53:13 +0000 (21:53 +0000)]
Teach push script to commit with roll account.
BUG=410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
693333002
Cr-Commit-Position: refs/heads/master@{#25046}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25046
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Fri, 31 Oct 2014 19:53:28 +0000 (19:53 +0000)]
[turbofan] Avoid unnecessary (u)int32<->float64 changes in simplified lowering.
BUG=
R=bmeurer@chromium.org, titzer@chromium.org
Review URL: https://codereview.chromium.org/
683873002
Cr-Commit-Position: refs/heads/master@{#25045}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25045
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Fri, 31 Oct 2014 19:05:31 +0000 (19:05 +0000)]
Revert "Skip the CallFunctionStub when the callee function can be statically determined."
This reverts commit
9845dfadd2ad4a83fa00bf43e0c2791ccf7eacad (r25042) for failing tests.
TBR=titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
693103004
Cr-Commit-Position: refs/heads/master@{#25044}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25044
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dusan.milosavljevic@imgtec.com [Fri, 31 Oct 2014 18:33:33 +0000 (18:33 +0000)]
MIPS64: Fix simulator arguments handling on generated code entry.
Removed workaround for this issue.
TEST=mjsunit, cctest on sim64
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
695933002
Cr-Commit-Position: refs/heads/master@{#25043}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25043
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 31 Oct 2014 16:35:42 +0000 (16:35 +0000)]
Skip the CallFunctionStub when the callee function can be statically determined.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
694773002
Cr-Commit-Position: refs/heads/master@{#25042}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25042
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 31 Oct 2014 15:09:06 +0000 (15:09 +0000)]
Minor cleanup about unscheduled use count for fixed nodes.
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/
696643002
Cr-Commit-Position: refs/heads/master@{#25041}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25041
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 31 Oct 2014 14:51:48 +0000 (14:51 +0000)]
Changing the aging mechanism for script and eval caches.
Instead of using multiple generations for the code, first only store the hash that gets aged. Once a hash matched on a next probe, actually cache the code. Use regular code aging to remove entries from the cache.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
675013004
Cr-Commit-Position: refs/heads/master@{#25040}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25040
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 31 Oct 2014 14:43:21 +0000 (14:43 +0000)]
Break allocations in the code serializer into correct chunk sizes.
This change has been inspired by Slava Chigrin <vchigrin@yandex-team.ru> (https://codereview.chromium.org/
689663002/)
R=mvstanton@chromium.org, vchigrin@yandex-team.ru
Review URL: https://codereview.chromium.org/
686103004
Cr-Commit-Position: refs/heads/master@{#25039}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25039
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 31 Oct 2014 14:02:05 +0000 (14:02 +0000)]
Properly handle stack overflows in the AST graph builder.
R=jarin@chromium.org
BUG=chromium:429159
TEST=mjsunit/regress/regress-crbug-429159
LOG=N
Review URL: https://codereview.chromium.org/
697473006
Cr-Commit-Position: refs/heads/master@{#25037}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25037
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Fri, 31 Oct 2014 13:39:20 +0000 (13:39 +0000)]
Upgrade test262-es6
TBR=machenbach@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
695763003
Cr-Commit-Position: refs/heads/master@{#25036}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25036
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 31 Oct 2014 13:36:10 +0000 (13:36 +0000)]
Skip tests for mips.
TBR=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
698513003
Cr-Commit-Position: refs/heads/master@{#25035}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25035
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 31 Oct 2014 13:14:58 +0000 (13:14 +0000)]
Switch auto push script to git.
BUG=410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
698513002
Cr-Commit-Position: refs/heads/master@{#25033}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25033
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
ulan@chromium.org [Fri, 31 Oct 2014 13:11:30 +0000 (13:11 +0000)]
Clear old backing store of WeakCollection on updates.
Not clearing can lead to a crash under following conditions:
1. Backing store of a weak map is allocated in large object space.
2. The backing store is marked incrementaly via the weak map.
3. The weak map is updated and gets a new backing store.
4. The store buffer overflows and marks the chunk of the old backing store as
"scan on scavenge."
5. Mark-compact collection kills some elements of the weak map. Note that the
old backing store survives because it was marked incrementally, but its dead
elements are not cleared.
6. Scavenger iterates over the old backing store, tries to move a dead object
and crashes.
BUG=v8:3631
LOG=N
TEST=cctest/test-heap/Regress3631
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
686783003
Cr-Commit-Position: refs/heads/master@{#25032}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25032
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
marja@chromium.org [Fri, 31 Oct 2014 13:03:15 +0000 (13:03 +0000)]
Scanner: remove PushBack calls when we're going to return ILLEGAL.
This simplifies escape handling and makes it easier to extend escapes for ES6.
PushBack just before detecting ILLEGAL is unnecessary, since we will abort the
scanning / parsing anyway at that point, and it doesn't matter where the cursor
exactly is. The error messages w/ PushBack are not any better or more correct
than without.
In addition: remove a comment about handling invalid escapes gracefully when we
no longer do. (*)
This CL includes a behavioral change: For input "var r = /foobar/g\urrrr;" we
used to report "unexpected_token: ILLEGAL" for "\u", but now we report
malformed_regexp_flags which is a more correct error message. (Note that the
code for reporting invalid_regexp_flags was dead, and invalid_regexp_flags is
not the right error message.)
Note that the V8 is more relaxed about unicode escapes in regexp flags than ES6
(see
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-regular-expressions )
and this CL doesn't change it. (V8 accepts any \uxxxx, ES6 spec says only a
certain value range is acceptable.)
(*) Code archaeology:
Originally, doing PushBack in ScanHexEscape made sense (see e.g., here
https://codereview.chromium.org/5063003/diff/6001/src/prescanner.h ), since we
wouldn't return ILLEGAL but treat an invalid escape sequence "\uxxxx" as
"uxxxx".
(The repo at that point contains another instance of the same function, from the
initial commit. The logic is the same.)
This behavior was changed in a "renaming" commit
https://codereview.chromium.org/7739020.
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
684873002
Cr-Commit-Position: refs/heads/master@{#25031}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25031
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
dcarney@chromium.org [Fri, 31 Oct 2014 10:44:04 +0000 (10:44 +0000)]
convert BitVector to use pointer size blocks
additionally rename data-flow.* to bit-vector.* as at some point these file became very inaccurately named
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
683243005
Cr-Commit-Position: refs/heads/master@{#25030}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25030
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 31 Oct 2014 09:30:59 +0000 (09:30 +0000)]
Assert that unoptimized code does not embed context-specific objects.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
690713003
Cr-Commit-Position: refs/heads/master@{#25029}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25029
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 31 Oct 2014 09:21:54 +0000 (09:21 +0000)]
Ensure we don't try to inline raw access to indexed interceptor receivers.
BUG=chromium:419220
LOG=y
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
697643002
Cr-Commit-Position: refs/heads/master@{#25028}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25028
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 31 Oct 2014 09:19:55 +0000 (09:19 +0000)]
X64: replace explicit zero-extend with runtime assert
Since the input float64 is in the range of [0, 2^32-1], the upper 32 bits of output register
should be zero.
BUG=
R=bmeurer@chromium.org, titzer@chromium.org
Review URL: https://codereview.chromium.org/
644993002
Patch from Weiliang Lin <weiliang.lin@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25027}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25027
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 31 Oct 2014 08:39:14 +0000 (08:39 +0000)]
Add turbocheck Makefile target.
The turbocheck target is similar to quickcheck, but runs only the
turbofan variant.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
697573002
Cr-Commit-Position: refs/heads/master@{#25026}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25026
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 31 Oct 2014 07:58:49 +0000 (07:58 +0000)]
[turbofan] Lower NumberModulus to Uint32Mod if both inputs are Unsigned32.
TEST=cctest/test-simplified-lowering
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
685993003
Cr-Commit-Position: refs/heads/master@{#25025}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25025
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 31 Oct 2014 06:41:07 +0000 (06:41 +0000)]
[turbofan] First step towards correctified 64-bit addressing.
Also remove the LEA matching from x64, since it was never really
effective. We'll optimize that once we're correct.
TEST=cctest,unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/
652363006
Cr-Commit-Position: refs/heads/master@{#25024}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25024
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Thu, 30 Oct 2014 15:52:26 +0000 (15:52 +0000)]
Fix bug in optimization of Uint32LessThan.
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
689883003
Cr-Commit-Position: refs/heads/master@{#25023}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25023
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 30 Oct 2014 15:05:11 +0000 (15:05 +0000)]
Make releases script more git friendly.
BUG=410721
LOG=n
TEST=script_test.py
TBR=tandrii@chromium.org
Review URL: https://codereview.chromium.org/
682863006
Cr-Commit-Position: refs/heads/master@{#25022}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25022
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
aandrey@chromium.org [Thu, 30 Oct 2014 14:51:17 +0000 (14:51 +0000)]
Introduce v8::Exception::GetMessage to find location of an error object.
API=v8::Exception::GetMessage
BUG=chromium:427954
R=yangguo@chromium.org
LOG=Y
Committed: https://code.google.com/p/v8/source/detail?r=25015
Review URL: https://codereview.chromium.org/
687253002
Cr-Commit-Position: refs/heads/master@{#25021}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25021
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 30 Oct 2014 14:40:30 +0000 (14:40 +0000)]
Do not compile with Turbofan if we cannot deopt for debugging.
R=jarin@chromium.org
BUG=v8:3660
LOG=N
Review URL: https://codereview.chromium.org/
677843005
Cr-Commit-Position: refs/heads/master@{#25020}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25020
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 30 Oct 2014 14:21:27 +0000 (14:21 +0000)]
Do not embed array objects in unoptimized code.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
685393002
Cr-Commit-Position: refs/heads/master@{#25019}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25019
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Thu, 30 Oct 2014 14:15:20 +0000 (14:15 +0000)]
Add floor, ceil, round (truncate) instructions for ia32, x64 (if SSE4.1) and
add floor, ceil, round (truncate and away from zero) for arm64.
R=bmeurer@chromium.org, dcarney@chromium.org, mstarzinger@chromium.org, rodolph.perfetta@arm.com
TEST=test/mjsunit/asm/math-floor.js,test/mjsunit/asm/math-ceil.js,test/unittest/compiler/js-builtin-reducer-unittest.cc
Review URL: https://codereview.chromium.org/
677433002
Cr-Commit-Position: refs/heads/master@{#25018}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25018
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 30 Oct 2014 13:57:11 +0000 (13:57 +0000)]
Reverting r25015 and r25016 for broken build.
TBR=yangguo@chromium.org, machenbach@chromium.org
LOG=N
Review URL: https://codereview.chromium.org/
688813002
Cr-Commit-Position: refs/heads/master@{#25017}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25017
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00