platform/upstream/v8.git
10 years agoDirectly use OperatorProperties where possible instead.
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

10 years agoDelegate node properties to operator properties.
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

10 years agoNodeAuxData needs a Zone, not a Graph.
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

10 years agoOnly tag parameters as maybe assigned if in sloppy mode.
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

10 years agov8::TryCatch should cancel the scheduled exception on Reset.
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

10 years agoCallIC must update type feedback info correctly.
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

10 years agoMirror object properties are always names
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

10 years agoX87: We should never allocate a 0-sized buffer, so never grow from 0.
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

10 years agoX87: Always use the StoreFieldStub to do the actual storing.
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

10 years agoFix BUILD.gn after r22923.
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

10 years agoOnly escape U+0022 in argument values of `String.prototype` HTML methods
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

10 years agoNo need to link base-unittests with GMock.
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

10 years agoX87: Hydrogenize (and share) StoreField except heapobject (for now)
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

10 years agoX87: Check that external references are registered in the serializer.
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

10 years agoApply patch from https://codereview.chromium.org/425333002 to gtest.gyp.
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

10 years agoWhitespace change to trigger bots.
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

10 years agoUpdate webkit test for expected own properties
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

10 years agoMIPS: We should never allocate a 0-sized buffer, so never grow from 0.
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

10 years agoWe should never allocate a 0-sized buffer, so never grow from 0.
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

10 years agoRevert "Extend some operations to range types."
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

10 years agoExtend some operations to range types.
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

10 years agoAllocate kMinimalBufferSize buffers in lithium
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

10 years agoGet rid of the "spare buffer" cache.
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

10 years agoThis implements unscopables
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

10 years agoRebaseline webkit test expectations after r22938.
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

10 years agoMIPS: Always use the StoreFieldStub to do the actual storing.
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

10 years agoOnly allocate a handler compiler when necessary
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

10 years agoAdd `CheckObjectCoercible` for the `String.prototype` HTML methods
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

10 years agoFix BUILD.gn
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

10 years agoRevert "Extend some operations to range types."
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

10 years agoAbstract out fetching of break_address in debug mode
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

10 years agoExtend some operations to range types.
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

10 years agoMove fdlibm from v8::internal to v8::fdlibm.
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

10 years agoCheck for initialized code stub descriptor in the deoptimizer.
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

10 years agoAlways use the StoreFieldStub to do the actual storing.
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

10 years agoMIPS: Hydrogenize (and share) StoreField except heapobject (for now).
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

10 years agoDrop bogus default parameter to BuildFunctionInfo.
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

10 years agoRevert "Add initial support for compiler unit tests using GTest/GMock."
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

10 years agoAdd initial support for compiler unit tests using GTest/GMock.
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

10 years agoFix a bug in type fuzzing and several handlification bugs elsewhere.
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

10 years agoRewind additional parser state when reinterpreting arrow arguments
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

10 years agoAdd deoptimization translations.
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

10 years agoReland "Implement trigonometric functions using a fdlibm port."
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

10 years agoSome tests no longer timeout with TF by using ICs.
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

10 years agoRevert "Implement trigonometric functions using a fdlibm port."
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

10 years agoFix windows build.
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

10 years agoMIPS: Check that external references are registered in the serializer.
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

10 years agoImplement trigonometric functions using a fdlibm port.
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

10 years agoUse EXPECT_DOUBLE_EQ for floating point comparisons.
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

10 years agoFix Mac build.
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

10 years agoTrigger exception debug events on Promise reject.
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

10 years agoRefactor unit tests for the base library to use GTest.
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

10 years agoRemove @@create and don't expose unimplemented symbols
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

10 years agoHydrogenize (and share) StoreField except heapobject (for now).
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

10 years agoAdd convenience method to print types for debugging.
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

10 years agoRevert "Rewind additional parser state when reinterpreting arrow arguments"
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

10 years agoRewind additional parser state when reinterpreting arrow arguments
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

10 years agoCarry along ContextualMode in JSLoadNamed operators.
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

10 years agoRemove obsolete declaration that broke Windows build.
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

10 years agoRemove non-trivial subtyping between bitset and non-bitset types.
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

10 years agoFix disassembly of sar(_, imm8)
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

10 years agoRestore function on arm64
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

10 years ago[Auto-roll] Bump up version to 3.28.61.0
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

10 years agoLoad constants from the DescriptorArray
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

10 years agoCheck that external references are registered in the serializer.
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

10 years agoMove ARM64 macros to macro-assembler-arm64.h.
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

10 years agoFix arm64 compilation with clang.
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

10 years ago[Auto-roll] Bump up version to 3.28.58.0
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

10 years agoEnable ES6 Map and Set by default
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

10 years agoFix webkit status file.
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

10 years agoTrack number of generic ICs per function
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

10 years agoSkip toString-number webkit test because of spurious failure.
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

10 years agoFix bailout ID for nullary arrow function literals
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

10 years agoDisable CPlusPlus11Features for making GCMole and NaCL unhappy.
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

10 years agoWhitespace change to trigger bots.
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

10 years agoFix Native Client build.
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

10 years ago[arm64] Fix.
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

10 years agoRevert "Unbreak build with clang."
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

10 years agoFix ARM64 port after r22876.
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

10 years agoUnbreak build with clang.
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

10 years agoImplement lowering of JS[Load,Store][Property,Named] to ICs.
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

10 years ago[turbofan] Improve testability of the InstructionSelector.
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

10 years agoEnable C++11. Synch toolchains with Chrome.
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

10 years agoPrevent direct inclusion of headers from TF.
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

10 years agoUndo some unintended changes from the Turbofan merge
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

10 years agoyield* calls @@iterator on iterable
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

10 years agoAnother Win64 fix.
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

10 years agoFix copy&paste bug in gtest.gyp.
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

10 years agoRemove broken _WIN64 checks.
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

10 years agoTag handlers as monomorphic
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

10 years agoPrecise sweeping makes zapping of garbage memory when trimming arrays obsolete
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

10 years agoFix compilation on arm64.
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

10 years agoPrecise sweeping makes zapping of garbage memory in UpdatePointer obsolete.
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

10 years agoMove ClearNonLiveReferences and friends into the gc.
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

10 years agoCleanup V8_TURBOFAN_TARGET definition.
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

10 years agoVerifier must ensure that start and end node of graph are set.
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

10 years agoRemoved GetConstructor from the API.
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

10 years agoRemove unnecesssary auxiliary definitions.
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

10 years agoCleanup hydrogen generated handlers
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

10 years agoMove left and right trimming of FixedArray into Heap.
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