sigurds@chromium.org [Fri, 8 Aug 2014 11:05:31 +0000 (11:05 +0000)]
Update and extend context specialization.
* Add store-chain folding to context specialization.
* Replace all uses of context with constant and then use
a visitor to find the places to optimize.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22993
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Fri, 8 Aug 2014 10:49:04 +0000 (10:49 +0000)]
Turn on harmony_unscopables for es_staging
BUG=v8:3401
LOG=Y
R=adamk@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
449923003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22992
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 8 Aug 2014 10:37:45 +0000 (10:37 +0000)]
Unbreak gcmole bots.
Switching on C++11 features for gcmole might actually be a good idea... :-}
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
452073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22991
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Fri, 8 Aug 2014 09:58:19 +0000 (09:58 +0000)]
Remove proxies from --harmony switch for M38, because problems
They can still be activated separately using the --harmony-proxies switch,
but are no longer implied by Chrome's "Experimental JavaScript" option.
R=yangguo@chromium.org
BUG=
LOG=Y
Review URL: https://codereview.chromium.org/
453903002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22990
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 8 Aug 2014 09:03:50 +0000 (09:03 +0000)]
Re-enable C++11 tests (still not on VS or NaCL).
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
457593002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22989
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 8 Aug 2014 08:13:06 +0000 (08:13 +0000)]
Make Zone::New() and Zone::NewArray() usable w/o v8.h.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
456663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22988
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 8 Aug 2014 07:04:07 +0000 (07:04 +0000)]
Reland "Add initial support for compiler unit tests using GTest/GMock.".
LOG=y
BUG=v8:3489
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
457503002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22987
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 8 Aug 2014 06:59:11 +0000 (06:59 +0000)]
Skip -pedantic for GTest as long as we -std=gnu++0x.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
457553002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22986
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 8 Aug 2014 06:29:49 +0000 (06:29 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22985
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 8 Aug 2014 05:45:04 +0000 (05:45 +0000)]
Synchronize GTest/GMock dependencies with Chromium.
Dependencies were updated in Chromium, see
https://codereview.chromium.org/
425333002/ for details.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
451993002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22984
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Thu, 7 Aug 2014 19:57:41 +0000 (19:57 +0000)]
Remove suppressions for Blink webexposed tests
BUG=400507
LOG=N
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
445353005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22983
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 7 Aug 2014 18:19:38 +0000 (18:19 +0000)]
Properly rebaseline getOwnPropertyNames test.
R=arv@chromium.org
TBR=arv@chromium.org, rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
454463002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22982
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 7 Aug 2014 17:57:27 +0000 (17:57 +0000)]
Rebaseline WebKit object getOwnPropertyNames test for Array.{keys,values,entries}
R=arv@chromium.org
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
451703005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22981
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 7 Aug 2014 16:42:14 +0000 (16:42 +0000)]
Enable ES6 iteration by default
This enables for-of, as well as @@iterator implementations for strings
and arrays.
R=rossberg@chromium.org
BUG=v8:2214
LOG=Y
Review URL: https://codereview.chromium.org/
446023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22980
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 7 Aug 2014 16:14:22 +0000 (16:14 +0000)]
Mark as prototype only after instantiating the function
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
447293002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22979
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 7 Aug 2014 15:33:14 +0000 (15:33 +0000)]
Clean up IC tracing for CallICs.
CallICs have had some confused tracing, because the IC state is not
entirely captured by the installed code stub - it lives in the type
vector.
Change tracing to be able to use the vector state changes instead.
Introduced a DEFAULT state to be used by all vector-based ICs.
R=verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
451643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22978
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Thu, 7 Aug 2014 15:30:16 +0000 (15:30 +0000)]
Extend some operations to range types.
This is a reland of 22945, which failed to build on Windows due to
(some versions of?) Visual Studio lacking copysign().
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
448093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22977
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 7 Aug 2014 15:26:28 +0000 (15:26 +0000)]
Enable TF for testing benchmarks.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440383002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22976
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 7 Aug 2014 13:34:13 +0000 (13:34 +0000)]
[Auto-roll] Bump up version to 3.28.63.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
449723004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22974
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 7 Aug 2014 13:09:33 +0000 (13:09 +0000)]
Don't smi-untag on 64bit in the store-field stub
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
451573002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22973
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Thu, 7 Aug 2014 12:56:53 +0000 (12:56 +0000)]
Update gcmole to a more recent clang/llvm.
* Changes for 2.9:
* Use CXX in Makefile instead of hardwired g++, we need a more
modern GCC than 4.6 later, anyway.
* Changes for 3.0:
* Use llvm namespace.
* Diagnostic => DiagnosticsEngine.
* Changes for 3.1:
* The BlockDeclRefExpr AST node is gone.
* The structure of the CXXNewExpr AST node has changed.
* Path changed from Release to Release+Asserts.
* Use clang++ instead of -cc1, otherwise we lose the system include
paths.
* Changes for 3.2:
none needed
* Changes for 3.3:
* Use lookup_iterator::begin/end instead of first/second.
* Changes for 3.4:
* createItaniumMangleContext => ItaniumMangleContext::create.
* Changes for 3.5:
* clang uses <type_traits> now, so -std=c++0x is needed.
* Type-trait-related AST changes.
* getCustomDiagID signature changed.
* We must link the C++ library statically now.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
445983002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22972
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Thu, 7 Aug 2014 12:21:01 +0000 (12:21 +0000)]
Move objects-visiting into heap.
BUG=
R=jochen@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
443933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22971
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 7 Aug 2014 11:01:02 +0000 (11:01 +0000)]
Remove dangerous default parameter from machine Store operator.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
451593002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22970
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@arm.com [Thu, 7 Aug 2014 10:46:40 +0000 (10:46 +0000)]
ARM64: Support arbitrary offset in load/store pair.
TF calls can generate code exceeding the instruction range.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
440303004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22969
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rodolph.perfetta@arm.com [Thu, 7 Aug 2014 10:42:55 +0000 (10:42 +0000)]
ARM64: fix Instanceof stub.
TF exposed a bug.
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
443153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22968
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Thu, 7 Aug 2014 09:14:47 +0000 (09:14 +0000)]
Directly use OperatorProperties where possible instead.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22967
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Thu, 7 Aug 2014 09:14:37 +0000 (09:14 +0000)]
Delegate node properties to operator properties.
* Move logic from NodeProperties to OperatorProperties when possible
* Make NodeProperties delegeate to OperatorProperties
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22966
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Thu, 7 Aug 2014 09:11:42 +0000 (09:11 +0000)]
NodeAuxData needs a Zone, not a Graph.
BUG=
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
446963002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22965
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Thu, 7 Aug 2014 09:06:01 +0000 (09:06 +0000)]
Only tag parameters as maybe assigned if in sloppy mode.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22964
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Thu, 7 Aug 2014 08:55:49 +0000 (08:55 +0000)]
v8::TryCatch should cancel the scheduled exception on Reset.
v8::TryCatch cancels the scheduled exception on destruction if |Rethrow|
was never called.
It is reasonable to do the same in |Reset|.
BUG=362388, 359386
LOG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
443853002
Patch from Yutaka Hirano <yhirano@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22963
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mvstanton@chromium.org [Thu, 7 Aug 2014 08:52:00 +0000 (08:52 +0000)]
CallIC must update type feedback info correctly.
CallIC, as the first of vector-based ICs didn't update the ic with type
count counter and the generic count counter correctly. This CL fixes
that.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
445943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22962
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Thu, 7 Aug 2014 08:36:38 +0000 (08:36 +0000)]
Mirror object properties are always names
R=aandrey@chromium.org, rossberg@chromium.org, yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
443843004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22959
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 7 Aug 2014 08:20:00 +0000 (08:20 +0000)]
X87: We should never allocate a 0-sized buffer, so never grow from 0.
port r22947
original commit message:
We should never allocate a 0-sized buffer, so never grow from 0.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
444403002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22958
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 7 Aug 2014 08:11:11 +0000 (08:11 +0000)]
X87: Always use the StoreFieldStub to do the actual storing.
port r22931.
original commit message:
Always use the StoreFieldStub to do the actual storing.
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
445343002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22957
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 7 Aug 2014 08:02:37 +0000 (08:02 +0000)]
Fix BUILD.gn after r22923.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
449783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22956
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 7 Aug 2014 07:45:33 +0000 (07:45 +0000)]
Only escape U+0022 in argument values of `String.prototype` HTML methods
Contributed by Mathias Bynens <mathiasb@opera.com>.
TEST=mjsunit/es6/string-html
BUG=v8:2217
LOG=Y
R=arv@chromium.org, yangguo@chromium.org
Review URL: https://codereview.chromium.org/
446973004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22955
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 7 Aug 2014 07:14:13 +0000 (07:14 +0000)]
No need to link base-unittests with GMock.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
447123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22954
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 7 Aug 2014 07:12:27 +0000 (07:12 +0000)]
X87: Hydrogenize (and share) StoreField except heapobject (for now)
port r22909.
original commit message:
Hydrogenize (and share) StoreField except heapobject (for now)
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
445313002
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22953
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 7 Aug 2014 07:06:52 +0000 (07:06 +0000)]
X87: Check that external references are registered in the serializer.
port r22896
original commit message:
Check that external references are registered in the serializer.
Inspired by a patch by Slava Chigrin <vchigrin@yandex-team.ru>;
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
446003004
Patch from Chunyang Dai <chunyang.dai@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22952
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 7 Aug 2014 04:44:55 +0000 (04:44 +0000)]
Apply patch from https://codereview.chromium.org/
425333002 to gtest.gyp.
This may be required for https://codereview.chromium.org/
425333002 to
land in Chromium.
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
448053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22951
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 6 Aug 2014 20:50:29 +0000 (20:50 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22950
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Wed, 6 Aug 2014 19:30:52 +0000 (19:30 +0000)]
Update webkit test for expected own properties
Follow up to:
438103002
BUG=None
LOG=Y
R=adamk@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
439153005
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22949
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Wed, 6 Aug 2014 19:30:03 +0000 (19:30 +0000)]
MIPS: We should never allocate a 0-sized buffer, so never grow from 0.
Port r22947 (
e72b5aed) and r22944 (
d1d8f44c)
BUG=
R=paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/
446923003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22948
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 17:48:31 +0000 (17:48 +0000)]
We should never allocate a 0-sized buffer, so never grow from 0.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
446933003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22947
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 17:43:55 +0000 (17:43 +0000)]
Revert "Extend some operations to range types."
This reverts commit 22945. Turns out Visual Studio doesn't have copysign().
TBR=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
450473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22946
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 17:23:47 +0000 (17:23 +0000)]
Extend some operations to range types.
This is a reland of 22934, which failed to build on Windows due to a missing include, and on ARM due to a name clash with some predefined constants.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
444023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22945
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 17:16:13 +0000 (17:16 +0000)]
Allocate kMinimalBufferSize buffers in lithium
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
443023003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22944
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 16:56:52 +0000 (16:56 +0000)]
Get rid of the "spare buffer" cache.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
446923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22943
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Wed, 6 Aug 2014 15:50:40 +0000 (15:50 +0000)]
This implements unscopables
The unscobables allow us to black list properties from showing up in
with statements.
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-environment-records-hasbinding-n
The spec draft is not fully up to date.
https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-07/jul-29.md#conclusionresolution
BUG=v8:3401
LOG=Y
R=rossberg@chromium.org, verwaest@chromium.org
Review URL: https://codereview.chromium.org/
384963002
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22942
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 15:31:35 +0000 (15:31 +0000)]
Rebaseline webkit test expectations after r22938.
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
446883002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22941
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Wed, 6 Aug 2014 15:11:09 +0000 (15:11 +0000)]
MIPS: Always use the StoreFieldStub to do the actual storing.
Port r22931 (
2af0a29f)
BUG=
R=gergely.kis@imgtec.com
Review URL: https://codereview.chromium.org/
440423004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22940
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 15:05:28 +0000 (15:05 +0000)]
Only allocate a handler compiler when necessary
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
443993002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22939
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 14:58:46 +0000 (14:58 +0000)]
Add `CheckObjectCoercible` for the `String.prototype` HTML methods
Contributed by Mathias Bynens <mathiasb@opera.com>.
TEST=mjsunit/es6/string-html
BUG=v8:2218
LOG=Y
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
422543003
Patch from Mathias Bynens <mathias@qiwi.be>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22938
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 14:57:04 +0000 (14:57 +0000)]
Fix BUILD.gn
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
442343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22937
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 14:09:21 +0000 (14:09 +0000)]
Revert "Extend some operations to range types."
This reverts 22934.
TBR=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
443123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22936
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 13:56:58 +0000 (13:56 +0000)]
Abstract out fetching of break_address in debug mode
If the platform has a variable length call sequence
more than simple offset math is required. This can
be true with out of line constant pools on PowerPC.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
427863003
Patch from Andrew Low <andrew_low@ca.ibm.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22935
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 13:51:38 +0000 (13:51 +0000)]
Extend some operations to range types.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
437393005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22934
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 13:45:59 +0000 (13:45 +0000)]
Move fdlibm from v8::internal to v8::fdlibm.
R=akos.palfi@imgtec.com
Review URL: https://codereview.chromium.org/
446863002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22933
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 13:18:49 +0000 (13:18 +0000)]
Check for initialized code stub descriptor in the deoptimizer.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
448683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22932
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 13:18:36 +0000 (13:18 +0000)]
Always use the StoreFieldStub to do the actual storing.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
443963002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22931
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Wed, 6 Aug 2014 13:17:33 +0000 (13:17 +0000)]
MIPS: Hydrogenize (and share) StoreField except heapobject (for now).
Port r22909 (
df25caa5)
BUG=
R=gergely.kis@imgtec.com
Review URL: https://codereview.chromium.org/
447673003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22930
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 6 Aug 2014 13:09:34 +0000 (13:09 +0000)]
Drop bogus default parameter to BuildFunctionInfo.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
448653002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22929
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 12:59:02 +0000 (12:59 +0000)]
Revert "Add initial support for compiler unit tests using GTest/GMock."
This reverts commit r22927 for breaking build.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
448663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22928
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 12:52:47 +0000 (12:52 +0000)]
Add initial support for compiler unit tests using GTest/GMock.
TEST=compiler-unittests
BUG=v8:3489
LOG=y
R=svenpanne@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/
447563003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22927
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 12:41:37 +0000 (12:41 +0000)]
Fix a bug in type fuzzing and several handlification bugs elsewhere.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
444883005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22926
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Wed, 6 Aug 2014 12:05:39 +0000 (12:05 +0000)]
Rewind additional parser state when reinterpreting arrow arguments
The new ParserCheckpoint mechanism resets some state, notably the
bailout ID counter but also some statement counters (only applicable
once we get "do" expressions) when we decide to reinterpret a comma
expression as arrow function arguments.
R=rossberg@chromium.org, marja@chromium.org
BUG=v8:3475
LOG=N
Review URL: https://codereview.chromium.org/
443903003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22925
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Wed, 6 Aug 2014 11:49:02 +0000 (11:49 +0000)]
Add deoptimization translations.
BUG=
R=bmeurer@chromium.org, mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
442253002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22924
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 11:39:39 +0000 (11:39 +0000)]
Reland "Implement trigonometric functions using a fdlibm port."
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
448643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22923
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 6 Aug 2014 11:38:51 +0000 (11:38 +0000)]
Some tests no longer timeout with TF by using ICs.
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
442283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22922
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 11:04:47 +0000 (11:04 +0000)]
Revert "Implement trigonometric functions using a fdlibm port."
This reverts r22918 and r22920.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
448633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22921
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 10:54:43 +0000 (10:54 +0000)]
Fix windows build.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
444953002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22920
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
akos.palfi@imgtec.com [Wed, 6 Aug 2014 10:52:59 +0000 (10:52 +0000)]
MIPS: Check that external references are registered in the serializer.
Port r22896 (
4e54978a)
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
444943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22919
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 10:33:17 +0000 (10:33 +0000)]
Implement trigonometric functions using a fdlibm port.
R=jochen@chromium.org, rtoy@chromium.org, svenpanne@chromium.org
BUG=v8:3006
LOG=N
Review URL: https://codereview.chromium.org/
411263004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22918
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 10:23:04 +0000 (10:23 +0000)]
Use EXPECT_DOUBLE_EQ for floating point comparisons.
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
444933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22917
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 09:50:17 +0000 (09:50 +0000)]
Fix Mac build.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
441283002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22916
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 09:41:52 +0000 (09:41 +0000)]
Trigger exception debug events on Promise reject.
R=rossberg@chromium.org, aandrey@chromium.org
BUG=393913
LOG=Y
Review URL: https://codereview.chromium.org/
440773004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22913
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 09:35:21 +0000 (09:35 +0000)]
Refactor unit tests for the base library to use GTest.
TEST=base-unittests
BUG=v8:3489
LOG=y
R=jochen@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
448603002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22911
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Wed, 6 Aug 2014 09:31:21 +0000 (09:31 +0000)]
Remove @@create and don't expose unimplemented symbols
Also, add some bits missing from turn-on-symbols CL
R=adamk@chromium.org, dslomov@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
441943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22910
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 09:31:10 +0000 (09:31 +0000)]
Hydrogenize (and share) StoreField except heapobject (for now).
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
443873002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22909
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 6 Aug 2014 09:26:49 +0000 (09:26 +0000)]
Add convenience method to print types for debugging.
R=titzer@chromium.org, svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
435403002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22908
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Wed, 6 Aug 2014 09:23:56 +0000 (09:23 +0000)]
Revert "Rewind additional parser state when reinterpreting arrow arguments"
This reverts r22906.
TBR=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
440373003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22907
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Wed, 6 Aug 2014 09:06:57 +0000 (09:06 +0000)]
Rewind additional parser state when reinterpreting arrow arguments
The new ParserCheckpoint mechanism resets some state, notably the
bailout ID counter but also some statement counters (only applicable
once we get "do" expressions) when we decide to reinterpret a comma
expression as arrow function arguments.
R=marja@chromium.org, rossberg@chromium.org
BUG=v8:3475
LOG=N
Review URL: https://codereview.chromium.org/
437393004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22906
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 6 Aug 2014 08:50:57 +0000 (08:50 +0000)]
Carry along ContextualMode in JSLoadNamed operators.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
435393004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22905
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 08:49:56 +0000 (08:49 +0000)]
Remove obsolete declaration that broke Windows build.
TBR=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
440393002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22904
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Wed, 6 Aug 2014 08:28:01 +0000 (08:28 +0000)]
Remove non-trivial subtyping between bitset and non-bitset types.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
444503005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22903
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Wed, 6 Aug 2014 08:19:36 +0000 (08:19 +0000)]
Fix disassembly of sar(_, imm8)
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
442003002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22902
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 08:10:13 +0000 (08:10 +0000)]
Restore function on arm64
TBR=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
440373002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22901
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Wed, 6 Aug 2014 08:04:13 +0000 (08:04 +0000)]
[Auto-roll] Bump up version to 3.28.61.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
440363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22900
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Wed, 6 Aug 2014 08:02:21 +0000 (08:02 +0000)]
Load constants from the DescriptorArray
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
442763002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22899
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 6 Aug 2014 07:20:14 +0000 (07:20 +0000)]
Check that external references are registered in the serializer.
Inspired by a patch by Slava Chigrin <vchigrin@yandex-team.ru>
R=jkummerow@chromium.org, vchigrin@yandex-team.ru
Review URL: https://codereview.chromium.org/
441983002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22896
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 06:35:29 +0000 (06:35 +0000)]
Move ARM64 macros to macro-assembler-arm64.h.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
444803003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22895
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Wed, 6 Aug 2014 04:30:06 +0000 (04:30 +0000)]
Fix arm64 compilation with clang.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
443823002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22894
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 22:04:13 +0000 (22:04 +0000)]
[Auto-roll] Bump up version to 3.28.58.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
446683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22890
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
adamk@chromium.org [Tue, 5 Aug 2014 19:37:32 +0000 (19:37 +0000)]
Enable ES6 Map and Set by default
In doing so also remove all references to the --harmony-collections flag.
Due to the way context snapshotting works, it's not possible to simply
enable the flag by default.
Depends on ES6 Symbols: https://codereview.chromium.org/
421313004
BUG=v8:1622
LOG=Y
R=arv@chromium.org, rossberg@chromium.org
Review URL: https://codereview.chromium.org/
427723002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22889
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 19:12:06 +0000 (19:12 +0000)]
Fix webkit status file.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
447533002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22888
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 5 Aug 2014 17:06:01 +0000 (17:06 +0000)]
Track number of generic ICs per function
and use it to disable optimization if too many ICs are generic.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
441643008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22887
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 16:36:31 +0000 (16:36 +0000)]
Skip toString-number webkit test because of spurious failure.
BUG=
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
439933006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22886
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Tue, 5 Aug 2014 15:23:07 +0000 (15:23 +0000)]
Fix bailout ID for nullary arrow function literals
The FunctionState corresponding to the arrow function's body should be
torn down before the function literal is allocated, so that the function
literal gets a bailout id for the environment in which it appears.
We will also need to rewind bailout IDs in the environment of the
function literal, to return IDs allocated for arrow function arguments.
This will come in the next patch.
R=rossberg@chromium.org
BUG=v8:3475
LOG=N
Review URL: https://codereview.chromium.org/
442573004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22885
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 15:17:28 +0000 (15:17 +0000)]
Disable CPlusPlus11Features for making GCMole and NaCL unhappy.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
440083003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22884
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Tue, 5 Aug 2014 14:39:25 +0000 (14:39 +0000)]
Whitespace change to trigger bots.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22883
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00