platform/upstream/v8.git
10 years agoRevert "More lazy deoptimization in Turbofan (binops, loads/stores)"
jarin@chromium.org [Mon, 11 Aug 2014 11:21:51 +0000 (11:21 +0000)]
Revert "More lazy deoptimization in Turbofan (binops, loads/stores)"

This reverts commit r23029.

BUG=
TBR=eisinger@chromium.org

Review URL: https://codereview.chromium.org/460623002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23031 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert 23028 - "MIPS: Add support for arch. revision 6 to mips32 port."
jochen@chromium.org [Mon, 11 Aug 2014 11:01:06 +0000 (11:01 +0000)]
Revert 23028 - "MIPS: Add support for arch. revision 6 to mips32 port."

Breaks compilation of ARM64.

| Additional summary:
|  - Introduce fp64 fpu mode into mips32 port required for r6.
|  - Implement runtime detections for fpu mode and arch. revision to preserve
|    compatibility with previous architecture revisions.
|
| TEST=
| BUG=
| R=jkummerow@chromium.org, paul.lind@imgtec.com
|
| Review URL: https://codereview.chromium.org/453043002

BUG=none
LOG=n
TBR=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/458193002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23030 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMore lazy deoptimization in Turbofan (binops, loads/stores)
jarin@chromium.org [Mon, 11 Aug 2014 10:42:01 +0000 (10:42 +0000)]
More lazy deoptimization in Turbofan (binops, loads/stores)

Deoptimizing binory operations, (Load|Store)(Property|Named),
constructors.

This also fixes safepoint lookup to account for lazily deoptimized code.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/453383002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23029 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Add support for arch. revision 6 to mips32 port.
dusan.milosavljevic@imgtec.com [Mon, 11 Aug 2014 10:40:25 +0000 (10:40 +0000)]
MIPS: Add support for arch. revision 6 to mips32 port.

Additional summary:
 - Introduce fp64 fpu mode into mips32 port required for r6.
 - Implement runtime detections for fpu mode and arch. revision to preserve
   compatibility with previous architecture revisions.

TEST=
BUG=
R=jkummerow@chromium.org, paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/453043002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23028 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix size_t/int conversions for Win64.
titzer@chromium.org [Mon, 11 Aug 2014 10:06:36 +0000 (10:06 +0000)]
Fix size_t/int conversions for Win64.

TBR=jochen@chromium.org
BUG=

Review URL: https://codereview.chromium.org/459763002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23027 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoImplement representation selection as part of SimplifiedLowering. Representation...
titzer@chromium.org [Mon, 11 Aug 2014 09:40:02 +0000 (09:40 +0000)]
Implement representation selection as part of SimplifiedLowering. Representation selection also
requires inserting explicit representation change nodes to be inserted in the graph. Such nodes
are pure, but also need to be lowered to machine operators. They need to be scheduled first, to
determine the control input for any branches inside.

This CL requires extensive testing. More tests to follow.

R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/425003004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23026 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSkip test that times out.
machenbach@chromium.org [Mon, 11 Aug 2014 09:16:14 +0000 (09:16 +0000)]
Skip test that times out.

BUG=v8:3503
LOG=n
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/458133002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake %DebugPushPromise more robust wrt fuzzing.
yangguo@chromium.org [Mon, 11 Aug 2014 07:59:10 +0000 (07:59 +0000)]
Make %DebugPushPromise more robust wrt fuzzing.

If %DebugPushPromise and throwing is called outside its intended context,
we may encounter assertion failures.

R=hpayer@chromium.org
BUG=401915
LOG=N

Review URL: https://codereview.chromium.org/453933002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23023 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Initial shot at deoptimizing JSCallFunction in Turbofan."
jarin@chromium.org [Mon, 11 Aug 2014 07:33:58 +0000 (07:33 +0000)]
Revert "Initial shot at deoptimizing JSCallFunction in Turbofan."

This reverts commit r23020.

BUG=
TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/453363003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23022 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.67.0
machenbach@chromium.org [Mon, 11 Aug 2014 07:04:14 +0000 (07:04 +0000)]
[Auto-roll] Bump up version to 3.28.67.0

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/458583003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23021 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoInitial shot at deoptimizing JSCallFunction in Turbofan.
jarin@chromium.org [Mon, 11 Aug 2014 06:55:16 +0000 (06:55 +0000)]
Initial shot at deoptimizing JSCallFunction in Turbofan.

BUG=
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/444883006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23020 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Mon, 11 Aug 2014 06:44:17 +0000 (06:44 +0000)]
Whitespace change to trigger bots.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23019 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAndroid fix for gtest.gyp.
bmeurer@chromium.org [Mon, 11 Aug 2014 04:04:39 +0000 (04:04 +0000)]
Android fix for gtest.gyp.

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/453363002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23018 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years ago[Auto-roll] Bump up version to 3.28.66.0
machenbach@chromium.org [Sat, 9 Aug 2014 14:04:12 +0000 (14:04 +0000)]
[Auto-roll] Bump up version to 3.28.66.0

TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/451273002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix GN build.
yangguo@chromium.org [Sat, 9 Aug 2014 10:02:42 +0000 (10:02 +0000)]
Fix GN build.

TBR=rossberg@chromium.org

Review URL: https://codereview.chromium.org/459623002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23013 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix v8 landmines script.
machenbach@chromium.org [Sat, 9 Aug 2014 08:31:01 +0000 (08:31 +0000)]
Fix v8 landmines script.

Currently, some builders are in a clobber-landmine loop.

Clobber deletes the .landmines tracker (sigh). Difficult to
know if we are right after a clobber or if it is first-time
landmines deployment. Also, a landmine-triggered clobber
right after a clobber is not possible. Different clobber
methods for msvs, xcode and make all have different
blacklists of files that are not deleted.

After the branch point, all v8 branch builders have to be
manually clobbered, because the appearance of the
landmines.py script and the first landmine request are in
the same branch CL.

TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/457063002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23012 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReland debug output for landmines
machenbach@chromium.org [Fri, 8 Aug 2014 18:33:58 +0000 (18:33 +0000)]
Reland debug output for landmines

TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/450873003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23011 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Add temporary output to debug landmines."
machenbach@chromium.org [Fri, 8 Aug 2014 16:11:41 +0000 (16:11 +0000)]
Revert "Add temporary output to debug landmines."

This reverts commit 0bfb2300939fe4e540d4a2fd80a040dd689710b8.

TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/452173002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd temporary output to debug landmines.
machenbach@chromium.org [Fri, 8 Aug 2014 16:05:19 +0000 (16:05 +0000)]
Add temporary output to debug landmines.

TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/450353002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23009 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMore landmines debug output.
machenbach@chromium.org [Fri, 8 Aug 2014 14:51:16 +0000 (14:51 +0000)]
More landmines debug output.

TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/452903004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix command line parsing crash.
vogelheim@chromium.org [Fri, 8 Aug 2014 14:42:18 +0000 (14:42 +0000)]
Fix command line parsing crash.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSkip richards with TF.
machenbach@chromium.org [Fri, 8 Aug 2014 14:07:50 +0000 (14:07 +0000)]
Skip richards with TF.

TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/458483002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23004 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMark Distributivity tests flaky on ARM
rossberg@chromium.org [Fri, 8 Aug 2014 14:05:24 +0000 (14:05 +0000)]
Mark Distributivity tests flaky on ARM

R=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/456763003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23003 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix Windows build after r23000.
mstarzinger@chromium.org [Fri, 8 Aug 2014 14:02:32 +0000 (14:02 +0000)]
Fix Windows build after r23000.

TBR=titzer@chromium.org

Review URL: https://codereview.chromium.org/451053003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23002 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix BUILD.gn after unflagging unscopables
rossberg@chromium.org [Fri, 8 Aug 2014 13:55:17 +0000 (13:55 +0000)]
Fix BUILD.gn after unflagging unscopables

TBR=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/455823002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23001 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMinor simplification and cleanup of graph builder.
mstarzinger@chromium.org [Fri, 8 Aug 2014 13:51:30 +0000 (13:51 +0000)]
Minor simplification and cleanup of graph builder.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/448113002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23000 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoES6: Implement WeakMap and WeakSet constructor logic
rossberg@chromium.org [Fri, 8 Aug 2014 13:39:13 +0000 (13:39 +0000)]
ES6: Implement WeakMap and WeakSet constructor logic

Now that iterators are enabled by default we need to correctly
handle the parameter for WeakMap and WeakSet. If provided then the
argument is iterated over to add entries to the WeakMap and WeakSet.

BUG=v8:3399
LOG=Y
R=adamk@chromium.org, rossberg@chromium.org

Review URL: https://codereview.chromium.org/448013005

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake Clang 3.0 happy about static cast in DoGenerateCode.
mstarzinger@chromium.org [Fri, 8 Aug 2014 13:33:28 +0000 (13:33 +0000)]
Make Clang 3.0 happy about static cast in DoGenerateCode.

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/453973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22998 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoExtend ToBooleanStub to be able to return oddballs.
mstarzinger@chromium.org [Fri, 8 Aug 2014 12:41:57 +0000 (12:41 +0000)]
Extend ToBooleanStub to be able to return oddballs.

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/450273002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: fix one patch porting error in R22957.
weiliang.lin@intel.com [Fri, 8 Aug 2014 12:38:20 +0000 (12:38 +0000)]
X87: fix one patch porting error in R22957.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/457603002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22996 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix debug-promises tests.
yangguo@chromium.org [Fri, 8 Aug 2014 11:57:51 +0000 (11:57 +0000)]
Fix debug-promises tests.

Using assertEquals on two Promises always passes. Use assertSame instead.

R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/455683002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22995 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoEnable ES6 unscopables
rossberg@chromium.org [Fri, 8 Aug 2014 11:42:59 +0000 (11:42 +0000)]
Enable ES6 unscopables

R=yangguo@chromium.org
BUG=v8:3401
LOG=Y

Review URL: https://codereview.chromium.org/455743002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate and extend context specialization.
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

10 years agoTurn on harmony_unscopables for es_staging
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

10 years agoUnbreak gcmole bots.
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

10 years agoRemove proxies from --harmony switch for M38, because problems
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

10 years agoRe-enable C++11 tests (still not on VS or NaCL).
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

10 years agoMake Zone::New() and Zone::NewArray() usable w/o v8.h.
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

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

10 years agoSkip -pedantic for GTest as long as we -std=gnu++0x.
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

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

10 years agoSynchronize GTest/GMock dependencies with Chromium.
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

10 years agoRemove suppressions for Blink webexposed tests
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

10 years agoProperly rebaseline getOwnPropertyNames test.
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

10 years agoRebaseline WebKit object getOwnPropertyNames test for Array.{keys,values,entries}
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

10 years agoEnable ES6 iteration by default
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

10 years agoMark as prototype only after instantiating the function
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

10 years agoClean up IC tracing for CallICs.
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

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

10 years agoEnable TF for testing benchmarks.
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

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

10 years agoDon't smi-untag on 64bit in the store-field stub
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

10 years agoUpdate gcmole to a more recent clang/llvm.
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

10 years agoMove objects-visiting into heap.
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

10 years agoRemove dangerous default parameter from machine Store operator.
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

10 years agoARM64: Support arbitrary offset in load/store pair.
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

10 years agoARM64: fix Instanceof stub.
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

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