Commit Graph

18196 Commits

Author SHA1 Message Date
mstarzinger@chromium.org
0d7f69aac5 Enable test cases that no longer timeout.
R=bmeurer@chromium.org
BUG=v8:3522,v8:3526
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23388 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 08:44:25 +00:00
bmeurer@chromium.org
279d74d3cf [turbofan] Get rid of DefineAsDoubleRegister() and friends.
TEST=compiler-unittests,cctest,mjsunit
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23387 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 08:30:18 +00:00
bmeurer@chromium.org
3e188ace5c [turbofan] Add backend support for load/store float32 values.
This is the bare minimum required to support typed arrays. Support for
working with float32 values will be added based on this.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23386 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 08:29:12 +00:00
machenbach@chromium.org
fa908676c7 Revert "Enable C++11 tests on windows."
This reverts commit 23383 because XP bots time out.

TBR=svenpanne@chromium.org
BUG=400033
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23385 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 08:24:27 +00:00
machenbach@chromium.org
48bf3a1065 Whitespace change to verify MSVS2013 transition.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23384 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 07:22:46 +00:00
machenbach@chromium.org
46bd2aff47 Enable C++11 tests on windows.
TBR=svenpanne@chromium.org
BUG=400033
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23383 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 07:00:44 +00:00
weiliang.lin@intel.com
beec274d40 X87: Eliminate code duplication in lithium calls to vector-based LoadICs
port r23359.

original commit message:
  Eliminate code duplication in lithium calls to vector-based LoadICs

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23382 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 06:16:14 +00:00
weiliang.lin@intel.com
b5972802b1 X87: Move "slow handler" compiler code to handler-compiler
port r23347.

original commit message:

 Move "slow handler" compiler code to handler-compiler

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23381 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 05:25:36 +00:00
weiliang.lin@intel.com
8681a11022 X87: Move handler compilers to handler-compiler
port r23346.

original commit message:
  Move handler compilers to handler-compiler

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23380 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-26 03:56:24 +00:00
machenbach@chromium.org
801129919e Teach chromium_roll script to roll v8 git hashes.
TEST=script_test.py
R=hinoka@google.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-25 20:04:23 +00:00
balazs.kilvady@imgtec.com
62c53bcedd MIPS: Eliminate code duplication in lithium calls to vector-based LoadICs.
Port r23359 (2e682e9)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23372 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-25 18:25:58 +00:00
balazs.kilvady@imgtec.com
0a67c5b85b MIPS: Encode CEntryStub properties in the minor key.
Port r23355 (1be1443)

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

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23371 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-25 18:07:09 +00:00
mstarzinger@chromium.org
bf71b5ab69 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
2014-08-25 16:39:25 +00:00
mstarzinger@chromium.org
0bf838456f 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
2014-08-25 16:32:35 +00:00
mstarzinger@chromium.org
ab57ca86ee 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
2014-08-25 16:22:04 +00:00
balazs.kilvady@imgtec.com
d69d25d759 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
2014-08-25 16:15:50 +00:00
vegorov@chromium.org
f42f4b6490 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
2014-08-25 15:41:09 +00:00
mvstanton@chromium.org
983aa69aa1 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
2014-08-25 15:17:06 +00:00
balazs.kilvady@imgtec.com
22d9cd21a9 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
2014-08-25 15:15:26 +00:00
jarin@chromium.org
fe20b89e68 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
2014-08-25 15:00:35 +00:00
yangguo@chromium.org
a53b7ff6b3 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
2014-08-25 14:44:06 +00:00
rossberg@chromium.org
c987661e0e 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
2014-08-25 14:31:24 +00:00
jarin@chromium.org
d90290bdae 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
2014-08-25 14:28:15 +00:00
mvstanton@chromium.org
40d581f7f1 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
2014-08-25 14:12:12 +00:00
yangguo@chromium.org
fb2ac081f5 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
2014-08-25 13:47:14 +00:00
machenbach@chromium.org
fa39a574cb 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
2014-08-25 13:39:43 +00:00
mstarzinger@chromium.org
4cf2cfad0a 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
2014-08-25 13:38:10 +00:00
yangguo@chromium.org
899fe964ad 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
2014-08-25 13:09:02 +00:00
mstarzinger@chromium.org
9fcbeb4a8e 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
2014-08-25 13:07:09 +00:00
weiliang.lin@intel.com
c69a9409a0 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
2014-08-25 12:40:11 +00:00
paul.lind@imgtec.com
d650d9995f 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
2014-08-25 12:26:44 +00:00
verwaest@chromium.org
46ac7c2cc1 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
2014-08-25 11:47:31 +00:00
balazs.kilvady@imgtec.com
be0d658d61 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
2014-08-25 11:35:22 +00:00
verwaest@chromium.org
01cfeb1205 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
2014-08-25 11:34:43 +00:00
verwaest@chromium.org
79b539877e 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
2014-08-25 11:31:38 +00:00
verwaest@chromium.org
e6995a01f4 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
2014-08-25 11:20:43 +00:00
verwaest@chromium.org
2803733a3b 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
2014-08-25 11:17:37 +00:00
bmeurer@chromium.org
66dd869980 [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
2014-08-25 10:35:38 +00:00
weiliang.lin@intel.com
e6a8544a6b 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
2014-08-25 09:57:11 +00:00
balazs.kilvady@imgtec.com
aff1fefe1d 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
2014-08-25 09:55:41 +00:00
weiliang.lin@intel.com
7db82e0de4 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
2014-08-25 09:52:21 +00:00
wingo@igalia.com
32d9aea9d8 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
2014-08-25 09:12:22 +00:00
balazs.kilvady@imgtec.com
1cdd7f5074 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
2014-08-25 09:09:25 +00:00
weiliang.lin@intel.com
d171b9d535 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
2014-08-25 09:00:04 +00:00
aandrey@chromium.org
6190ac0882 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
2014-08-25 08:56:31 +00:00
yangguo@chromium.org
b0e2cb14fa 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
2014-08-25 07:48:58 +00:00
yangguo@chromium.org
0944419447 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
2014-08-25 07:32:29 +00:00
yangguo@chromium.org
8357e02f3c 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
2014-08-25 07:04:21 +00:00
jarin@chromium.org
d8295050d2 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
2014-08-25 07:02:19 +00:00
yangguo@chromium.org
3a1c55590f 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
2014-08-25 06:57:13 +00:00