platform/upstream/v8.git
10 years agoEnable TurboFan deopts for test-heap/NextCodeLinkIsWeak.
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:39:25 +0000 (16:39 +0000)]
Enable TurboFan deopts for test-heap/NextCodeLinkIsWeak.

R=jarin@chromium.org
TEST=cctest/test-heap/NextCodeLinkIsWeak

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

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

10 years agoFix continue statements within for-in loops.
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:32:35 +0000 (16:32 +0000)]
Fix continue statements within for-in loops.

R=titzer@chromium.org
TEST=cctest/test-run-jsbranches/ForInContinueStatement
BUG=v8:3522
LOG=N

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

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

10 years agoFix GN build after r23364.
mstarzinger@chromium.org [Mon, 25 Aug 2014 16:22:04 +0000 (16:22 +0000)]
Fix GN build after r23364.

TBR=vogelheim@chromium.org

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

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

10 years agoMIPS: Move "slow handler" compiler code to handler-compiler.
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 16:15:50 +0000 (16:15 +0000)]
MIPS: Move "slow handler" compiler code to handler-compiler.

Port r23347 (e4cba22)

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoMove kGroupCount out of DependencyGroup enum.
vegorov@chromium.org [Mon, 25 Aug 2014 15:41:09 +0000 (15:41 +0000)]
Move kGroupCount out of DependencyGroup enum.

BUG=
R=svenpanne@chromium.org, yangguo@chromium.org

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

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

10 years agoIntroduce two new symbols for vector based ICs.
mvstanton@chromium.org [Mon, 25 Aug 2014 15:17:06 +0000 (15:17 +0000)]
Introduce two new symbols for vector based ICs.

Vector based load ics need a premonomorphic and generic symbol.

R=verwaest@chromium.org

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

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

10 years agoMIPS: Move handler compilers to handler-compiler.
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 15:15:26 +0000 (15:15 +0000)]
MIPS: Move handler compilers to handler-compiler.

Port r23346 (fd75a28)

BUG=
R=verwaest@chromium.org

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

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

10 years agoFix int comparison with vector::size.
jarin@chromium.org [Mon, 25 Aug 2014 15:00:35 +0000 (15:00 +0000)]
Fix int comparison with vector::size.

TBR=titzer@chromium.org

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

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

10 years agoUse correct BitField arguments in CEntryStub.
yangguo@chromium.org [Mon, 25 Aug 2014 14:44:06 +0000 (14:44 +0000)]
Use correct BitField arguments in CEntryStub.

R=vogelheim@chromium.org

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

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

10 years agoActivate --harmony switch on test262-es6
rossberg@chromium.org [Mon, 25 Aug 2014 14:31:24 +0000 (14:31 +0000)]
Activate --harmony switch on test262-es6

R=dslomov@chromium.org
BUG=

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

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

10 years agoRevert a mistake in Node::CollectProjections.
jarin@chromium.org [Mon, 25 Aug 2014 14:28:15 +0000 (14:28 +0000)]
Revert a mistake in Node::CollectProjections.

Fix for a bug I introduced in r23270.

BUG=
R=titzer@chromium.org

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

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

10 years agoEliminate code duplication in lithium calls to vector-based LoadICs
mvstanton@chromium.org [Mon, 25 Aug 2014 14:12:12 +0000 (14:12 +0000)]
Eliminate code duplication in lithium calls to vector-based LoadICs

R=verwaest@chromium.org

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

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

10 years agoCorrectly return value. Fix for r23355.
yangguo@chromium.org [Mon, 25 Aug 2014 13:47:14 +0000 (13:47 +0000)]
Correctly return value. Fix for r23355.

TBR=vogelheim@chromium.org

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

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

10 years agoTeach v8rel script to read git hashes from DEPS.
machenbach@chromium.org [Mon, 25 Aug 2014 13:39:43 +0000 (13:39 +0000)]
Teach v8rel script to read git hashes from DEPS.

The chromium DEPS file can refer to v8 git hashes now. These
are converted back into svn revision numbers for the v8
releases spreadsheet.

The DEPS file's quotation mark policy changed which affects
the regexp for retrieving the v8 revision ("->').

TEST=script_test.py
TEST=tools/push-to-trunk/releases.py -c /path/to/chromium/src --branch recent
R=hinoka@google.com

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

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

10 years agoFix borked tests after r23354.
mstarzinger@chromium.org [Mon, 25 Aug 2014 13:38:10 +0000 (13:38 +0000)]
Fix borked tests after r23354.

TBR=vogelheim@chromium.org
TEST=cctest/test-run-inlining

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

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

10 years agoEncode CEntryStub properties in the minor key.
yangguo@chromium.org [Mon, 25 Aug 2014 13:09:02 +0000 (13:09 +0000)]
Encode CEntryStub properties in the minor key.

Eventually, all stubs should encode its properties in the minor key
so that stubs can be restored directly from the stub key.

R=mvstanton@chromium.org

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

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

10 years agoBring back test coverage for baseline TurboFan.
mstarzinger@chromium.org [Mon, 25 Aug 2014 13:07:09 +0000 (13:07 +0000)]
Bring back test coverage for baseline TurboFan.

R=sigurds@chromium.org

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

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

10 years agoX87: Move PropertyAccessCompiler and CallOptimization to their own files
weiliang.lin@intel.com [Mon, 25 Aug 2014 12:40:11 +0000 (12:40 +0000)]
X87: Move PropertyAccessCompiler and CallOptimization to their own files

port r23320.

orginal commit message:

  Move PropertyAccessCompiler and CallOptimization to their own files

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoMIPS: Add owners files to src/ic/mips*
paul.lind@imgtec.com [Mon, 25 Aug 2014 12:26:44 +0000 (12:26 +0000)]
MIPS: Add owners files to src/ic/mips*

Also remove old addresses from owners files.

BUG=
R=machenbach@chromium.org

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

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

10 years agoRemove HolderIsNonGlobalHiddenPrototype since OWN* now also checks globals
verwaest@chromium.org [Mon, 25 Aug 2014 11:47:31 +0000 (11:47 +0000)]
Remove HolderIsNonGlobalHiddenPrototype since OWN* now also checks globals

BUG=
R=mvstanton@chromium.org

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

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

10 years agoMIPS: Move PropertyAccessCompiler and CallOptimization to their own files.
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 11:35:22 +0000 (11:35 +0000)]
MIPS: Move PropertyAccessCompiler and CallOptimization to their own files.

Port r23320 (ae06749)

BUG=
R=verwaest@chromium.org

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

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

10 years agoClean up LookupIterator::Configuration naming
verwaest@chromium.org [Mon, 25 Aug 2014 11:34:43 +0000 (11:34 +0000)]
Clean up LookupIterator::Configuration naming

BUG=
R=mvstanton@chromium.org

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

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

10 years agoMinor LookupIterator cleanups
verwaest@chromium.org [Mon, 25 Aug 2014 11:31:38 +0000 (11:31 +0000)]
Minor LookupIterator cleanups

BUG=
R=mvstanton@chromium.org

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

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

10 years agoMove "slow handler" compiler code to handler-compiler
verwaest@chromium.org [Mon, 25 Aug 2014 11:20:43 +0000 (11:20 +0000)]
Move "slow handler" compiler code to handler-compiler

BUG=
R=yangguo@chromium.org

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

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

10 years agoMove handler compilers to handler-compiler
verwaest@chromium.org [Mon, 25 Aug 2014 11:17:37 +0000 (11:17 +0000)]
Move handler compilers to handler-compiler

BUG=
R=yangguo@chromium.org

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

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

10 years ago[turbofan] Add backend support for signed loads.
bmeurer@chromium.org [Mon, 25 Aug 2014 10:35:38 +0000 (10:35 +0000)]
[turbofan] Add backend support for signed loads.

Also rename the arch opcodes to match their native counterparts.

TEST=compiler-unittests,cctest
R=jarin@chromium.org

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

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

10 years agoX87: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeS...
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:57:11 +0000 (09:57 +0000)]
X87: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler

port r23311.

original commit message:
  Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler

x

BUG=
R=verwaest@chromium.org, weiliang.lin@intel.com

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

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

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

10 years agoMIPS: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntime...
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 09:55:41 +0000 (09:55 +0000)]
MIPS: Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler.

Port r23311 (654ca86)

BUG=
R=verwaest@chromium.org

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

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

10 years agoX87: Add owners files to src/ic/x87/
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:52:21 +0000 (09:52 +0000)]
X87: Add owners files to src/ic/x87/

BUG=
R=verwaest@chromium.org

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

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

10 years agoArguments object has @@iterator
wingo@igalia.com [Mon, 25 Aug 2014 09:12:22 +0000 (09:12 +0000)]
Arguments object has @@iterator

R=arv@chromium.org, verwaest@chromium.org, rossberg@chromium.org
BUG=v8:3391
LOG=N
TEST=mjsunit/harmony/arguments-iterator.js

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

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

10 years agoMIPS: Move IC code into a subdir and move ic-compilation related code from stub-cache...
balazs.kilvady@imgtec.com [Mon, 25 Aug 2014 09:09:25 +0000 (09:09 +0000)]
MIPS: Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler.

Port r23306 (b95f295)

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

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

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

10 years agox87: Move IC code into a subdir and move ic-compilation related code from stub-cache...
weiliang.lin@intel.com [Mon, 25 Aug 2014 09:00:04 +0000 (09:00 +0000)]
x87: Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler

port r23306.

original commit message:
   Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler.

BUG=
R=verwaest@chromium.org, weiliang.lin@intel.com

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

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

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

10 years agoExpose Value::IsMap, IsSet, IsWeakMap, IsWeakSet in V8 API.
aandrey@chromium.org [Mon, 25 Aug 2014 08:56:31 +0000 (08:56 +0000)]
Expose Value::IsMap, IsSet, IsWeakMap, IsWeakSet in V8 API.

These checks will be needed for DevTools.

R=yangguo@chromium.org, svenpanne@chromium.org

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

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

10 years agoRemove mention of `RegExp.$input`
yangguo@chromium.org [Mon, 25 Aug 2014 07:48:58 +0000 (07:48 +0000)]
Remove mention of `RegExp.$input`

R=yangguo@chromium.org, arv@chromium.org
BUG=v8:3486
LOG=N

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

Patch from Mathias Bynens <mathias@qiwi.be>.

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

10 years agoAdd LTO support for Android Chromium.
yangguo@chromium.org [Mon, 25 Aug 2014 07:32:29 +0000 (07:32 +0000)]
Add LTO support for Android Chromium.

This is to add support for a Link-Time Optimizations experiment in Android Chromium. As it is disabled by default, it won't change anything for most configurations.

R=ulan@chromium.org

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

Patch from Fabrice de Gans <fdegans@chromium.org>.

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

10 years agoFix GC mole warning.
yangguo@chromium.org [Mon, 25 Aug 2014 07:04:21 +0000 (07:04 +0000)]
Fix GC mole warning.

R=machenbach@chromium.org

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

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

10 years agoFix deoptimization address patching in Turbofan to use safepoints.
jarin@chromium.org [Mon, 25 Aug 2014 07:02:19 +0000 (07:02 +0000)]
Fix deoptimization address patching in Turbofan to use safepoints.

Since the deopt patch address needs to be available during GC to
resolve safepoints, we need to move it to the code object (instead of
the deoptimization input data) - accessing a separate fixed array
is not safe during GC. This CL adds a deoptimization_pc field to
each safepoint. The fields points to the deoptimization block.

The CL also fixes wrong register allocator constraints for
frame states on calls. These should always live on the stack
because registers are not preserved during a call.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoCorrectly forward-declare inline function headers in generic-node.h
yangguo@chromium.org [Mon, 25 Aug 2014 06:57:13 +0000 (06:57 +0000)]
Correctly forward-declare inline function headers in generic-node.h

R=bmeurer@chromium.org, jarin@chromium.org

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

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

10 years agoRename CountSetBits32 to CountPopulation32 for consistency.
bmeurer@chromium.org [Mon, 25 Aug 2014 04:24:39 +0000 (04:24 +0000)]
Rename CountSetBits32 to CountPopulation32 for consistency.

R=machenbach@chromium.org

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

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

10 years agoTeach benchmark runner to understand generic traces.
machenbach@chromium.org [Sun, 24 Aug 2014 14:32:44 +0000 (14:32 +0000)]
Teach benchmark runner to understand generic traces.

BUG=406405
LOG=n
TEST=python -m unittest run_benchmarks_test
R=bmeurer@chromium.org

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

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

10 years agoWhitespace change after chromium git transition.
machenbach@chromium.org [Sun, 24 Aug 2014 08:17:27 +0000 (08:17 +0000)]
Whitespace change after chromium git transition.

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

10 years agoRevert "Enable out-of-line constant pool for Arm."
machenbach@chromium.org [Sat, 23 Aug 2014 18:38:37 +0000 (18:38 +0000)]
Revert "Enable out-of-line constant pool for Arm."

This reverts commit r23323 for letting arm timeout.

Bisect build without the CL:
http://build.chromium.org/p/client.v8/builders/V8%20Arm/builds/94

Build with the CL:
http://build.chromium.org/p/client.v8/builders/V8%20Arm/builds/95

TBR=rmcilroy@chromium.org, ulan@chromium.org, yangguo@chromium.org

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

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

10 years agoWhitespace change for chromium git migration.
machenbach@chromium.org [Sat, 23 Aug 2014 06:16:27 +0000 (06:16 +0000)]
Whitespace change for chromium git migration.

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

10 years agoEnable out-of-line constant pool for Arm.
rmcilroy@chromium.org [Fri, 22 Aug 2014 15:18:41 +0000 (15:18 +0000)]
Enable out-of-line constant pool for Arm.

R=ulan@chromium.org

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

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

10 years agoFix issue with numeric property names
arv@chromium.org [Fri, 22 Aug 2014 14:40:38 +0000 (14:40 +0000)]
Fix issue with numeric property names

We were not correctly treating 1.0 as 1, nor 1.20 as 1.2 in accessors.

BUG=v8:3507
LOG=Y
R=marja@chromium.org

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

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

10 years agoMove PropertyAccessCompiler and CallOptimization to their own files
verwaest@chromium.org [Fri, 22 Aug 2014 14:36:54 +0000 (14:36 +0000)]
Move PropertyAccessCompiler and CallOptimization to their own files

BUG=
R=yangguo@chromium.org

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

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

10 years agoMake v8 releases script ready for chromium git switch.
machenbach@chromium.org [Fri, 22 Aug 2014 14:30:37 +0000 (14:30 +0000)]
Make v8 releases script ready for chromium git switch.

This uses chromium commit numbers that are supported after
the chromium git switch. Most functionality is copied from
the bot_update.py script from tools/build.

This also enables mapping bleeding edge revisions to chromium
revisions (previously the data was only retrieved for trunk).

TEST=script_test.py
TEST=tools/push-to-trunk/releases.py -c /path/to/chromium/src --branch recent

TBR=jarin@chromium.org

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

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

10 years agoFix Win64 build after r23316.
ulan@chromium.org [Fri, 22 Aug 2014 14:12:47 +0000 (14:12 +0000)]
Fix Win64 build after r23316.

TBR=hpayer@chromium.org

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

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

10 years agoFix build after r23316.
ulan@chromium.org [Fri, 22 Aug 2014 13:41:29 +0000 (13:41 +0000)]
Fix build after r23316.

TBR=hpayer@chromium.org

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

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

10 years agoFirst tests for GCIdleTimeHandler.
ulan@chromium.org [Fri, 22 Aug 2014 13:26:29 +0000 (13:26 +0000)]
First tests for GCIdleTimeHandler.

BUG=
R=hpayer@chromium.org

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

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

10 years agoFix win64 (size_t vs int in CHECK).
titzer@chromium.org [Fri, 22 Aug 2014 13:14:44 +0000 (13:14 +0000)]
Fix win64 (size_t vs int in CHECK).

TBR=jarin@chromium.org
BUG=

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

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

10 years agoRemove dependency on GCTrace from GCIdleTimeHandler.
ulan@chromium.org [Fri, 22 Aug 2014 13:02:11 +0000 (13:02 +0000)]
Remove dependency on GCTrace from GCIdleTimeHandler.

This makes testing GCIdleTimeHandler easier.

BUG=
R=hpayer@chromium.org

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

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

10 years agotest/test262: update testcfg.py for new test262
rossberg@chromium.org [Fri, 22 Aug 2014 13:00:10 +0000 (13:00 +0000)]
test/test262: update testcfg.py for new test262

testcfg.py:

- update revision and MD5
- remove non-mandatory harness files
- use test parser distributed with test262
- new attribute `suite.harnesspath`
- new method GetIncludesForTest
- GetSourceForTest: cache source on testcase
- IsNegativeTest: use parseTestRecord
- use 7-char sha hash [1]
- DRY setting up paths to test262 suite, harness, etc
- clean up helper fns

harness-adapter.js:

- add $DONE function to adapter [2]

1: github tar file has 7-char sha embedded in dir name
script cannot find directory to rename if they don't match exactly

2: test262 uses a `$DONE` function for async tests with
semantics like those of mocha's `done`.

Briefly: done(arg) => if (arg) { /* failure */ }

Implemented a version of this for v8, using v8-specific
api (`print`, `quit`)

BUG=v8:3513
LOG=N
R=jkummerow@chromium.org

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

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

10 years agoHandle null receiver in sloppy mode in %GetFrameDetails.
yangguo@chromium.org [Fri, 22 Aug 2014 12:55:23 +0000 (12:55 +0000)]
Handle null receiver in sloppy mode in %GetFrameDetails.

R=jarin@chromium.org
BUG=405922
LOG=N

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

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

10 years agoRemove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetPro...
verwaest@chromium.org [Fri, 22 Aug 2014 12:48:15 +0000 (12:48 +0000)]
Remove KeyedStoreIC::GenerateRuntimeSetProperty and move Store::GenerateRuntimeSetProperty to the PropertyICCompiler

BUG=
R=yangguo@chromium.org

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

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

10 years agoAdd ScheduleVerifier.
titzer@chromium.org [Fri, 22 Aug 2014 12:37:51 +0000 (12:37 +0000)]
Add ScheduleVerifier.

This adds a series of checks to the output of scheduling, including properties
of the RPO order, the dominance relation, phi placement, and the SSA property
that definitions dominate all their uses.

R=jarin@chromium.org
BUG=

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

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

10 years agoRe-land "Add finalize sweeping event to GCIdleTimeHandler."
hpayer@chromium.org [Fri, 22 Aug 2014 12:32:12 +0000 (12:32 +0000)]
Re-land "Add finalize sweeping event to GCIdleTimeHandler."

BUG=
R=ulan@chromium.org

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

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

10 years agoAdd ic-compiler to BUILD.gn
verwaest@chromium.org [Fri, 22 Aug 2014 12:30:25 +0000 (12:30 +0000)]
Add ic-compiler to BUILD.gn

BUG=
R=yangguo@chromium.org

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

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

10 years agoChange return-type of SetDataProperty to Handle.
verwaest@chromium.org [Fri, 22 Aug 2014 11:48:52 +0000 (11:48 +0000)]
Change return-type of SetDataProperty to Handle.

BUG=
R=yangguo@chromium.org

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

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

10 years agoMove IC code into a subdir and move ic-compilation related code from stub-cache into...
verwaest@chromium.org [Fri, 22 Aug 2014 11:43:39 +0000 (11:43 +0000)]
Move IC code into a subdir and move ic-compilation related code from stub-cache into ic-compiler

BUG=
R=bmeurer@chromium.org

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

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

10 years agoRewrite StoreIC handling using the LookupIterator. Continued from patch 494153002
verwaest@chromium.org [Fri, 22 Aug 2014 11:38:21 +0000 (11:38 +0000)]
Rewrite StoreIC handling using the LookupIterator. Continued from patch 494153002

BUG=
R=yangguo@chromium.org

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

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

10 years agoRevert "Add finalize sweeping event to GCIdleTimeHandler."
yangguo@chromium.org [Fri, 22 Aug 2014 11:36:23 +0000 (11:36 +0000)]
Revert "Add finalize sweeping event to GCIdleTimeHandler."

This reverts r23302.

TBR=hpayer@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.29.15.0
machenbach@chromium.org [Fri, 22 Aug 2014 11:34:13 +0000 (11:34 +0000)]
[Auto-roll] Bump up version to 3.29.15.0

TBR=machenbach@chromium.org

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

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

10 years agoAdd finalize sweeping event to GCIdleTimeHandler.
hpayer@chromium.org [Fri, 22 Aug 2014 11:14:17 +0000 (11:14 +0000)]
Add finalize sweeping event to GCIdleTimeHandler.

BUG=
R=ulan@chromium.org

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

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

10 years agoTake ast node id counting away from Isolate.
marja@chromium.org [Fri, 22 Aug 2014 11:12:29 +0000 (11:12 +0000)]
Take ast node id counting away from Isolate.

When we're going to parse multiple scripts in parallel, we cannot have the
Isolate count the ast node ids.

Now the counter is stored in CompilationInfo instead. This is because we need to
add ast nodes after parsing too.

R=rossberg@chromium.org
BUG=

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

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

10 years agoPacify GCmole.
yangguo@chromium.org [Fri, 22 Aug 2014 11:09:13 +0000 (11:09 +0000)]
Pacify GCmole.

R=jarin@chromium.org

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

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

10 years agoBlacklist mjsunit/debug-break-inline from turbofan tests.
yangguo@chromium.org [Fri, 22 Aug 2014 09:54:01 +0000 (09:54 +0000)]
Blacklist mjsunit/debug-break-inline from turbofan tests.

Due to GC stress failures.

TBR=jarin@chromium.org

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

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

10 years agoReland part of r23285 "Start incremental marking in idle time handler only if it...
ulan@chromium.org [Fri, 22 Aug 2014 09:18:10 +0000 (09:18 +0000)]
Reland part of r23285 "Start incremental marking in idle time handler only if it is worthwhile.""

R=hpayer@chromium.org

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

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

10 years ago[turbofan] Disable the intl/overrides/string test.
Jacob.Bramley@arm.com [Fri, 22 Aug 2014 09:05:04 +0000 (09:05 +0000)]
[turbofan] Disable the intl/overrides/string test.

This test times out with Turbo Fan enabled. See issue 3526 for details.

BUG=
R=ulan@chromium.org, wingo@igalia.com

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

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

10 years agoMigrate test-semaphore to base-unittests.
bmeurer@chromium.org [Fri, 22 Aug 2014 08:52:40 +0000 (08:52 +0000)]
Migrate test-semaphore to base-unittests.

TEST=base-unittests
BUG=v8:3489
LOG=n
R=machenbach@chromium.org

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

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

10 years agoBlack list failing Turbofan debugger test.
jarin@chromium.org [Fri, 22 Aug 2014 08:28:26 +0000 (08:28 +0000)]
Black list failing Turbofan debugger test.

TBR=bmeurer@chromium.org

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

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

10 years agoAdd missing test directories to presubmit.py.
bmeurer@chromium.org [Fri, 22 Aug 2014 07:54:41 +0000 (07:54 +0000)]
Add missing test directories to presubmit.py.

R=machenbach@chromium.org
BUG=v8:3489
LOG=n

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

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

10 years ago[turbofan] Add support for change/truncate to MachineOperatorReducer.
bmeurer@chromium.org [Fri, 22 Aug 2014 07:54:09 +0000 (07:54 +0000)]
[turbofan] Add support for change/truncate to MachineOperatorReducer.

TEST=compiler-unittests
R=jarin@chromium.org

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

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

10 years agoCouple more debugger tests working with Turbofan.
jarin@chromium.org [Fri, 22 Aug 2014 07:44:18 +0000 (07:44 +0000)]
Couple more debugger tests working with Turbofan.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoDo not run Turbofan tests on mjsunit/deserialize-reference.
yangguo@chromium.org [Fri, 22 Aug 2014 07:25:12 +0000 (07:25 +0000)]
Do not run Turbofan tests on mjsunit/deserialize-reference.

TBR=machenbach@chromium.org

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

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

10 years agoMark test-debug/RecursiveBreakpointsGlobal as flaky.
yangguo@chromium.org [Fri, 22 Aug 2014 06:45:15 +0000 (06:45 +0000)]
Mark test-debug/RecursiveBreakpointsGlobal as flaky.

TBR=machenbach@chromium.org
BUG=v8:3525
LOG=N

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

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

10 years ago[turbofan] Initial import of SimplifiedOperatorReducer.
bmeurer@chromium.org [Fri, 22 Aug 2014 04:47:55 +0000 (04:47 +0000)]
[turbofan] Initial import of SimplifiedOperatorReducer.

TEST=compiler-unittests
R=jarin@chromium.org

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

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

10 years agoRevert "Start incremental marking in idle time handler only if it is worthwhile."
machenbach@chromium.org [Thu, 21 Aug 2014 19:55:27 +0000 (19:55 +0000)]
Revert "Start incremental marking in idle time handler only if it is worthwhile."

This reverts commit r23285 for breaking cctest/test-api/Regress2107.

TBR=ulan@chromium.org, hpayer@chromium.org, yangguo@chromium.org

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

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

10 years agoStart incremental marking in idle time handler only if it is worthwhile.
ulan@chromium.org [Thu, 21 Aug 2014 16:05:38 +0000 (16:05 +0000)]
Start incremental marking in idle time handler only if it is worthwhile.

BUG=
R=hpayer@chromium.org

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

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

10 years agoAdd back the duplicate property checker
arv@chromium.org [Thu, 21 Aug 2014 15:32:22 +0000 (15:32 +0000)]
Add back the duplicate property checker

We're not quite ready to make this change.

BUG=v8:3498
LOG=Y
R=rossberg@chromium.org

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

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

10 years agoRemove conservative sweeping.
hpayer@chromium.org [Thu, 21 Aug 2014 14:50:18 +0000 (14:50 +0000)]
Remove conservative sweeping.

BUG=
R=jarin@chromium.org

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

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

10 years agoMove idle notification handling to GCIdleTimeHandler.
ulan@chromium.org [Thu, 21 Aug 2014 14:42:22 +0000 (14:42 +0000)]
Move idle notification handling to GCIdleTimeHandler.

BUG=
R=hpayer@chromium.org

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

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

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

TBR=machenbach@chromium.org

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

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

10 years agoFix unused-variable error on release builds.
rmcilroy@chromium.org [Thu, 21 Aug 2014 13:50:13 +0000 (13:50 +0000)]
Fix unused-variable error on release builds.

TBR=ulan@chromium.org

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

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

10 years agoAdd ARMv6 support for the out-of-line constant pool.
rmcilroy@chromium.org [Thu, 21 Aug 2014 13:26:47 +0000 (13:26 +0000)]
Add ARMv6 support for the out-of-line constant pool.

R=ulan@chromium.org

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

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

10 years agoARM64: Slightly simplify LShiftI and LShiftS.
Jacob.Bramley@arm.com [Thu, 21 Aug 2014 13:22:18 +0000 (13:22 +0000)]
ARM64: Slightly simplify LShiftI and LShiftS.

BUG=
R=ulan@chromium.org

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

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

10 years agoAdd missing ConstantPoolUnavailableScopes on JS return.
rmcilroy@chromium.org [Thu, 21 Aug 2014 12:59:18 +0000 (12:59 +0000)]
Add missing ConstantPoolUnavailableScopes on JS return.

R=ulan@chromium.org

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

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

10 years agoReland "Load global object and builtins from activation."
sigurds@chromium.org [Thu, 21 Aug 2014 12:40:10 +0000 (12:40 +0000)]
Reland "Load global object and builtins from activation."

Reland fixes:
Don't set string flags (doing so leaks memory).

Load closure from activation for building literals.

R=titzer@chromium.org

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

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

10 years agoImplement Function.prototype.toMethod.
dslomov@chromium.org [Thu, 21 Aug 2014 12:39:33 +0000 (12:39 +0000)]
Implement Function.prototype.toMethod.

R=arv@chromium.org, verwaest@chromium.org
BUG=v8:3330
LOG=N

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

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

10 years agoFix parsing of --gtest_list_tests output.
bmeurer@chromium.org [Thu, 21 Aug 2014 12:36:00 +0000 (12:36 +0000)]
Fix parsing of --gtest_list_tests output.

R=machenbach@chromium.org

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

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

10 years agoStage ES6 generators
wingo@igalia.com [Thu, 21 Aug 2014 12:06:25 +0000 (12:06 +0000)]
Stage ES6 generators

R=dslomov@chromium.org
BUG=

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

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

10 years agoFix clang/win build.
bmeurer@chromium.org [Thu, 21 Aug 2014 12:02:24 +0000 (12:02 +0000)]
Fix clang/win build.

TBR=jarin@chromium.org

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

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

10 years agoInitial support for debugger frame state in Turbofan.
jarin@chromium.org [Thu, 21 Aug 2014 11:56:46 +0000 (11:56 +0000)]
Initial support for debugger frame state in Turbofan.

Bunch of changes were necessary:
- refactor attaching the frame states/lazy bailouts in AstGraphBuilder
  (essentialy reland of r23096),
- attaching frame state to some JS nodes in a similar way to attaching
  context (this is quite ugly and we should take another look at this),
- new bailout point for the debugger statement,
- register allocation constraints for the frame states,
- generating translations and deopt entries, attaching them to
  safepoints,
- enabled one mjsunit test for debugger state that uses the generated
  frame state.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoFix symbol-named function template properties in the API
wingo@igalia.com [Thu, 21 Aug 2014 11:55:46 +0000 (11:55 +0000)]
Fix symbol-named function template properties in the API

Thanks to Yutaka Hirano <yhirano@chromium.org> for finding the bug and
providing the test case.

R=rossberg@chromium.org
BUG=

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

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

10 years agoMSan: mark any memory allocated from the JS heap as uninitialized.
commit-bot@chromium.org [Thu, 21 Aug 2014 09:35:59 +0000 (09:35 +0000)]
MSan: mark any memory allocated from the JS heap as uninitialized.

BUG=chromium:403409,chromium:178409
R=jkummerow@chromium.org
LOG=N

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

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

10 years agoRename IsDontDelete to IsConfigurable (and invert conditions)
verwaest@chromium.org [Thu, 21 Aug 2014 09:34:47 +0000 (09:34 +0000)]
Rename IsDontDelete to IsConfigurable (and invert conditions)

BUG=
R=ulan@chromium.org

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

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

10 years agoRefactor parser Checkpoints.
marja@chromium.org [Thu, 21 Aug 2014 09:22:08 +0000 (09:22 +0000)]
Refactor parser Checkpoints.

Why this is better:

1) Not needing an extra template parameter for Checkpoints ctors. This was
especially confusing since the template parameter was named Parser and Parser is
also used as a type name and is also a concrete type. This CL makes it clear
that ParserTraits::Checkpoint is consturcted with ParserBase<ParserTraits> -
that's the only sensemaking type for the ctor param anyway.

2) This CL makes ParserBase define a Checkpoint base class (which knows how
to create and restore a checkpoint with ParserBase) which
PreParserTraits::Checkpoint and ParserTraits::Checkpoint inherit, and not the
other way around.

This is a more intuitive way to implement the "base functionality + extending
it" concept than the previous solution. The previous solution was to allow
Traits to define a Checkpoint class and make ParserBase<Traits>::ParserCheckpoint
(which defines the base functionality) inherit from it.

3) This CL moves the Checkpoint class definitions out of the SomeTraits::Type
struct; SomeTraits::Type is supposed to be a collection of typedefs and not
contain anything else.

Checkpoints were introduced in r22925 ( https://codereview.chromium.org/443903003 ).

BUG=
R=wingo@igalia.com

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

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

10 years agoSimplify array iterator tests
wingo@igalia.com [Thu, 21 Aug 2014 09:04:24 +0000 (09:04 +0000)]
Simplify array iterator tests

R=arv@chromium.org, rossberg@chromium.org
BUG=

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

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

10 years agoAllow to combine quickcheck and no_variants in test driver.
machenbach@chromium.org [Thu, 21 Aug 2014 08:38:14 +0000 (08:38 +0000)]
Allow to combine quickcheck and no_variants in test driver.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoIndirect LookupResult accesses over PropertyAccessInfo
verwaest@chromium.org [Thu, 21 Aug 2014 08:37:59 +0000 (08:37 +0000)]
Indirect LookupResult accesses over PropertyAccessInfo

BUG=
R=yangguo@chromium.org

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

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