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
bmeurer@chromium.org [Tue, 5 Aug 2014 14:26:21 +0000 (14:26 +0000)]
Fix Native Client build.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
442783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22882
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 14:21:07 +0000 (14:21 +0000)]
[arm64] Fix.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
444663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22881
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 14:19:22 +0000 (14:19 +0000)]
Revert "Unbreak build with clang."
This reverts commit r22878 and fixes the actual bug instead.
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
446573002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22880
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 14:06:33 +0000 (14:06 +0000)]
Fix ARM64 port after r22876.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
447443002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22879
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 5 Aug 2014 13:58:11 +0000 (13:58 +0000)]
Unbreak build with clang.
It's unclear whether it's a clang bug or our code is wrong, to be
verified later...
TBR=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
438323002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22878
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 13:32:26 +0000 (13:32 +0000)]
Implement lowering of JS[Load,Store][Property,Named] to ICs.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
439263004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22877
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 13:26:55 +0000 (13:26 +0000)]
[turbofan] Improve testability of the InstructionSelector.
Allow to pass the set of supported CPU features to
the InstructionSelector, so it can be tested without
messing with the command line flags.
Also add InstructionSelector sample for ia32.
TEST=cctest/test-instruction-selector,cctest/test-instruction-selector-{arm,ia32}
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
441883004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22876
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Tue, 5 Aug 2014 13:23:55 +0000 (13:23 +0000)]
Enable C++11. Synch toolchains with Chrome.
* Consistently enable C++11 features on all platforms.
* Use the same ARM toolchain version as Chrome.
* Make clang the default on Mac OS X, just like Chrome.
* Use C99 on Mac OS X, again following Chrome.
* Small build fixes.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
440663002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22875
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 13:20:26 +0000 (13:20 +0000)]
Prevent direct inclusion of headers from TF.
R=jochen@chromium.org, titzer@chromium.org
Review URL: https://codereview.chromium.org/
438243004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22874
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
rossberg@chromium.org [Tue, 5 Aug 2014 13:19:32 +0000 (13:19 +0000)]
Undo some unintended changes from the Turbofan merge
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
435423002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22873
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
wingo@igalia.com [Tue, 5 Aug 2014 13:17:49 +0000 (13:17 +0000)]
yield* calls @@iterator on iterable
R=rossberg@chromium.org
BUG=v8:3422
LOG=N
Review URL: https://codereview.chromium.org/
430693003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22872
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 13:06:17 +0000 (13:06 +0000)]
Another Win64 fix.
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
444643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22871
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:44:27 +0000 (12:44 +0000)]
Fix copy&paste bug in gtest.gyp.
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
441873008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22870
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:38:19 +0000 (12:38 +0000)]
Remove broken _WIN64 checks.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
440863002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22869
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 12:32:49 +0000 (12:32 +0000)]
Tag handlers as monomorphic
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
444623002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22868
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 12:09:23 +0000 (12:09 +0000)]
Precise sweeping makes zapping of garbage memory when trimming arrays obsolete
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
439863006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22867
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 12:09:01 +0000 (12:09 +0000)]
Fix compilation on arm64.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
435413002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22866
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 12:04:58 +0000 (12:04 +0000)]
Precise sweeping makes zapping of garbage memory in UpdatePointer obsolete.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22865
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 11:58:24 +0000 (11:58 +0000)]
Move ClearNonLiveReferences and friends into the gc.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
440063002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22864
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 11:53:32 +0000 (11:53 +0000)]
Cleanup V8_TURBOFAN_TARGET definition.
Move to globals.h so we do no longer skip any number of
tests. Introduce V8_TURBOFAN_BACKEND, which is 1 if we
actually have a backend and want to compile it, but don't
run the tests.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
444503003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22863
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Tue, 5 Aug 2014 11:42:57 +0000 (11:42 +0000)]
Verifier must ensure that start and end node of graph are set.
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
444583004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22862
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 11:27:44 +0000 (11:27 +0000)]
Removed GetConstructor from the API.
Instead either get the "constructor" property stored in the prototype, or keep a side-table.
LOG=y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
438303003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22861
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
neis@chromium.org [Tue, 5 Aug 2014 11:27:26 +0000 (11:27 +0000)]
Remove unnecesssary auxiliary definitions.
R=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
413983005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22860
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 11:22:29 +0000 (11:22 +0000)]
Cleanup hydrogen generated handlers
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
445563002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22859
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Tue, 5 Aug 2014 11:16:11 +0000 (11:16 +0000)]
Move left and right trimming of FixedArray into Heap.
R=hpayer@chromium.org
BUG=v8:3231
LOG=n
Review URL: https://codereview.chromium.org/
200443004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22858
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jkummerow@chromium.org [Tue, 5 Aug 2014 10:44:17 +0000 (10:44 +0000)]
Restore performance of accesses to JSGlobalProxy after r22802
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
446523002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22857
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 10:27:10 +0000 (10:27 +0000)]
Remove special frontend for callbacks with slow-mode holders.
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/
436273002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22856
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Tue, 5 Aug 2014 10:16:47 +0000 (10:16 +0000)]
Revert "Initial import of unittests using GTest/GMock."
This reverts commit r22847 and r22848. Isolate initialization/shutdown
still broken (so certain debug builds just crash), and our compiler flags
do not work with other Google projects (i.e. GTest/GMock).
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/
438243003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22855
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
hpayer@chromium.org [Tue, 5 Aug 2014 09:40:09 +0000 (09:40 +0000)]
Force incremental marking when called from idle notification.
BUG=
R=ernstm@chromium.org, jochen@chromium.org
Review URL: https://codereview.chromium.org/
426243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22854
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 09:32:55 +0000 (09:32 +0000)]
Inline LookupInHolder and NextHolder
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
437513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22853
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 5 Aug 2014 09:24:27 +0000 (09:24 +0000)]
Reland "Also mark as prototype when passing in while creating a function."
Skip gc-stress for test relying on stable feedback (and hence stable gc timing).
BUG=
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/
441873005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22852
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00